KChart::StockBarAttributes
#include <KChartStockBarAttributes.h>
Public Member Functions | |
StockBarAttributes (const 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 |
Detailed Description
Attributes to customize the appearance of a column in a stock chart.
Definition at line 20 of file KChartStockBarAttributes.h.
Constructor & Destructor Documentation
◆ StockBarAttributes() [1/2]
StockBarAttributes::StockBarAttributes | ( | ) |
Definition at line 29 of file KChartStockBarAttributes.cpp.
◆ StockBarAttributes() [2/2]
StockBarAttributes::StockBarAttributes | ( | const StockBarAttributes & | r | ) |
Definition at line 34 of file KChartStockBarAttributes.cpp.
◆ ~StockBarAttributes()
StockBarAttributes::~StockBarAttributes | ( | ) |
Definition at line 49 of file KChartStockBarAttributes.cpp.
Member Function Documentation
◆ candlestickWidth()
qreal StockBarAttributes::candlestickWidth | ( | ) | const |
- Returns
- the width of a candlestick
Definition at line 58 of file KChartStockBarAttributes.cpp.
◆ operator!=()
|
inline |
Definition at line 55 of file KChartStockBarAttributes.h.
◆ operator=()
StockBarAttributes & StockBarAttributes::operator= | ( | const StockBarAttributes & | r | ) |
Definition at line 39 of file KChartStockBarAttributes.cpp.
◆ operator==()
bool StockBarAttributes::operator== | ( | const StockBarAttributes & | r | ) | const |
Definition at line 73 of file KChartStockBarAttributes.cpp.
◆ setCandlestickWidth()
void StockBarAttributes::setCandlestickWidth | ( | qreal | width | ) |
Sets the width of a candlestick.
- Parameters
-
width The width of a candlestick
Definition at line 54 of file KChartStockBarAttributes.cpp.
◆ setTickLength()
void StockBarAttributes::setTickLength | ( | qreal | length | ) |
Sets the tick length of both the open and close marker.
- Parameters
-
length the tick length
Definition at line 63 of file KChartStockBarAttributes.cpp.
◆ tickLength()
qreal StockBarAttributes::tickLength | ( | ) | const |
- Returns
- the tick length used for both the open and close marker
Definition at line 68 of file KChartStockBarAttributes.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.