Attributes to customize the appearance of a column in a stock chart. More...
#include <KDChartStockBarAttributes.h>
Public Member Functions | |
qreal | candlestickWidth () const |
bool | operator!= (const StockBarAttributes &other) const |
StockBarAttributes & | operator= (const StockBarAttributes &) |
bool | operator== (const StockBarAttributes &) const |
void | setCandlestickWidth (qreal width) |
Sets the width of a candlestick. | |
void | setTickLength (qreal length) |
Sets the tick length of both the open and close marker. | |
StockBarAttributes (const StockBarAttributes &) | |
StockBarAttributes () | |
qreal | tickLength () const |
~StockBarAttributes () |
Attributes to customize the appearance of a column in a stock chart.
Definition at line 34 of file KDChartStockBarAttributes.h.
StockBarAttributes::StockBarAttributes | ( | ) |
Definition at line 43 of file KDChartStockBarAttributes.cpp.
StockBarAttributes::StockBarAttributes | ( | const StockBarAttributes & | r | ) |
Definition at line 48 of file KDChartStockBarAttributes.cpp.
StockBarAttributes::~StockBarAttributes | ( | ) |
Definition at line 63 of file KDChartStockBarAttributes.cpp.
qreal StockBarAttributes::candlestickWidth | ( | ) | const |
Definition at line 80 of file KDChartStockBarAttributes.cpp.
References d.
Referenced by operator==().
bool KDChart::StockBarAttributes::operator!= | ( | const StockBarAttributes & | other | ) | const |
Definition at line 50 of file KDChartStockBarAttributes.h.
References KDGantt::operator==().
StockBarAttributes & StockBarAttributes::operator= | ( | const StockBarAttributes & | r | ) |
Definition at line 53 of file KDChartStockBarAttributes.cpp.
References d.
bool StockBarAttributes::operator== | ( | const StockBarAttributes & | r | ) | const |
Definition at line 103 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 73 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 90 of file KDChartStockBarAttributes.cpp.
References d.
qreal StockBarAttributes::tickLength | ( | ) | const |
Definition at line 98 of file KDChartStockBarAttributes.cpp.
References d.
Referenced by operator==().