KChart::StockBarAttributes

KChart::StockBarAttributes Class Reference

#include <KChartStockBarAttributes.h>

Public Member Functions

 StockBarAttributes (const 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 31 of file KChartStockBarAttributes.h.

Member Function Documentation

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

Definition at line 69 of file KChartStockBarAttributes.cpp.

void StockBarAttributes::setCandlestickWidth ( qreal  width)

Sets the width of a candlestick.

Parameters
widthThe width of a candlestick

Definition at line 65 of file KChartStockBarAttributes.cpp.

void StockBarAttributes::setTickLength ( qreal  length)

Sets the tick length of both the open and close marker.

Parameters
lengththe tick length

Definition at line 74 of file KChartStockBarAttributes.cpp.

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

Definition at line 79 of file KChartStockBarAttributes.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Aug 9 2020 22:38:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.