![]() |
KD Chart API Documentation
3.1
|
Attributes to customize the appearance of a column in a stock chart. More...
#include <KDChartStockBarAttributes.h>
Public Member Functions | |
StockBarAttributes () | |
StockBarAttributes (const StockBarAttributes &) | |
~StockBarAttributes () | |
qreal | candlestickWidth () const |
bool | operator!= (const StockBarAttributes &other) const |
StockBarAttributes & | operator= (const StockBarAttributes &) |
bool | operator== (const StockBarAttributes &) const |
void | setCandlestickWidth (qreal width) |
void | setTickLength (qreal length) |
qreal | tickLength () const |
Attributes to customize the appearance of a column in a stock chart.
Definition at line 22 of file KDChartStockBarAttributes.h.
StockBarAttributes::StockBarAttributes | ( | ) |
Definition at line 30 of file KDChartStockBarAttributes.cpp.
StockBarAttributes::StockBarAttributes | ( | const StockBarAttributes & | r | ) |
Definition at line 35 of file KDChartStockBarAttributes.cpp.
StockBarAttributes::~StockBarAttributes | ( | ) |
Definition at line 50 of file KDChartStockBarAttributes.cpp.
qreal StockBarAttributes::candlestickWidth | ( | ) | const |
Definition at line 67 of file KDChartStockBarAttributes.cpp.
References d.
Referenced by operator==().
|
inline |
Definition at line 38 of file KDChartStockBarAttributes.h.
References KDChart::operator==().
StockBarAttributes & StockBarAttributes::operator= | ( | const StockBarAttributes & | r | ) |
Definition at line 40 of file KDChartStockBarAttributes.cpp.
References d.
bool StockBarAttributes::operator== | ( | const StockBarAttributes & | r | ) | const |
Definition at line 90 of file KDChartStockBarAttributes.cpp.
References candlestickWidth(), and tickLength().
void StockBarAttributes::setCandlestickWidth | ( | qreal | width | ) |
Sets the width of a candlestick
width | The width of a candlestick |
Definition at line 60 of file KDChartStockBarAttributes.cpp.
References d.
void StockBarAttributes::setTickLength | ( | qreal | length | ) |
Sets the tick length of both the open and close marker
length | the tick length |
Definition at line 77 of file KDChartStockBarAttributes.cpp.
References d.
qreal StockBarAttributes::tickLength | ( | ) | const |
Definition at line 85 of file KDChartStockBarAttributes.cpp.
References d.
Referenced by operator==().