KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KDChart::StockBarAttributes Class Reference

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
 
StockBarAttributesoperator= (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 22 of file KDChartStockBarAttributes.h.

Constructor & Destructor Documentation

◆ StockBarAttributes() [1/2]

StockBarAttributes::StockBarAttributes ( )

Definition at line 30 of file KDChartStockBarAttributes.cpp.

◆ StockBarAttributes() [2/2]

StockBarAttributes::StockBarAttributes ( const StockBarAttributes r)

Definition at line 35 of file KDChartStockBarAttributes.cpp.

◆ ~StockBarAttributes()

StockBarAttributes::~StockBarAttributes ( )

Definition at line 50 of file KDChartStockBarAttributes.cpp.

Member Function Documentation

◆ candlestickWidth()

qreal StockBarAttributes::candlestickWidth ( ) const
Returns
the width of a candlestick

Definition at line 67 of file KDChartStockBarAttributes.cpp.

References d.

Referenced by operator==().

◆ operator!=()

bool KDChart::StockBarAttributes::operator!= ( const StockBarAttributes other) const
inline

Definition at line 38 of file KDChartStockBarAttributes.h.

References KDChart::operator==().

◆ operator=()

StockBarAttributes & StockBarAttributes::operator= ( const StockBarAttributes r)

Definition at line 40 of file KDChartStockBarAttributes.cpp.

References d.

◆ operator==()

bool StockBarAttributes::operator== ( const StockBarAttributes r) const

Definition at line 90 of file KDChartStockBarAttributes.cpp.

References candlestickWidth(), and tickLength().

◆ setCandlestickWidth()

void StockBarAttributes::setCandlestickWidth ( qreal  width)

Sets the width of a candlestick

Parameters
widthThe width of a candlestick

Definition at line 60 of file KDChartStockBarAttributes.cpp.

References d.

◆ setTickLength()

void StockBarAttributes::setTickLength ( qreal  length)

Sets the tick length of both the open and close marker

Parameters
lengththe tick length

Definition at line 77 of file KDChartStockBarAttributes.cpp.

References d.

◆ tickLength()

qreal StockBarAttributes::tickLength ( ) const
Returns
the tick length used for both the open and close marker

Definition at line 85 of file KDChartStockBarAttributes.cpp.

References d.

Referenced by operator==().


The documentation for this class was generated from the following files:

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Fri Apr 26 2024 00:04:57 for KD Chart API Documentation by doxygen 1.9.8