QwtTradingChartData(3)

πŸ’– QwtTradingChartData β€” from the Qwt User's Guide πŸ’–

okay bestie, pull up a chair, we're talking about QwtTradingChartData(3) β€” yes the whole page is literally named after the class, main character behavior only ✨


🌸 NAME 🌸

QwtTradingChartData β€” that's the whole name, she's confident, she doesn't need a subtitle πŸ’…


✨ SYNOPSIS ✨

#include <qwt_series_data.h>

Inherits QwtArraySeriesData< QwtOHLCSample >. so yeah she's part of that family tree, generational talent fr fr 🧬

πŸ‘‘ Public Member Functions πŸ‘‘

  • QwtTradingChartData (const QVector< QwtOHLCSample > &=QVector< QwtOHLCSample >()) β€” the constructor, more on her in a sec πŸŽ€
  • virtual QRectF boundingRect () const override β€” Calculate the bounding rectangle. she's virtual, she's override, she's doing the absolute most and we love her for it πŸ˜­πŸ’–

🫢 Additional Inherited Members 🫢

yep, there's more where that came from β€” inherited members exist too, she's not doing this alone, it's a whole team effort πŸ’œ


πŸ¦‹ Detailed Description πŸ¦‹

So basically: this is the Interface for iterating over an array of OHLC samples. OHLC = open, high, low, close, iykyk πŸ“ˆ and she's the one letting you walk through a whole array of those samples one by one. no cap.

Definition at line 261 of file qwt_series_data.h. πŸ“Œ


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

⭐ QwtTradingChartData::QwtTradingChartData (const QVector< QwtOHLCSample > & samples = QVector< QwtOHLCSample >( ))

Constructor. she's built different (literally, this is where the building happens) πŸ”₯

Parameters

  • samples β€” Samples πŸ’–

Definition at line 378 of file qwt_series_data.cpp. πŸ“Œ


🌈 Member Function Documentation 🌈

πŸ’« QRectF QwtTradingChartData::boundingRect () const [override], [virtual]

Calculate the bounding rectangle. and here's the tea: the bounding rectangle is calculated once by iterating over all points and is stored for all following requests. so she does the work one time and then just remembers it?? efficient queen, we stan a caching icon πŸ‘‘βœ¨

Returns

  • Bounding rectangle πŸ–ΌοΈ

Implements QwtSeriesData< T >.

Definition at line 391 of file qwt_series_data.cpp. πŸ“Œ


🧚 Author 🧚

Generated automatically by Doxygen for Qwt User's Guide from the source code. not a human author, just a robot doing her little documentation thing, and honestly? slay πŸ€–πŸ’…


ok so that's the whole page bestie, nothing skipped, nothing summarised, we kept every single line and flag and file path because that's the rule and we don't break rules in this house 🫢

and finally, the sign-off: this whole thing is Version 6.2.0, dated Sun Jul 18 2021, and the page you're reading is QwtTradingChartData(3). bye babes, go iterate over some OHLC samples πŸ’–πŸŒΈβœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from