kchart
KDChartHiLoPainter Class Reference
#include <KDChartHiLoPainter.h>
Inheritance diagram for KDChartHiLoPainter:

Detailed Description
A chart painter implementation that can paint HiLo charts.
Definition at line 39 of file KDChartHiLoPainter.h.
Protected Member Functions | |
KDChartHiLoPainter (KDChartParams *params) | |
virtual | ~KDChartHiLoPainter () |
virtual bool | isNormalMode () const |
virtual int | clipShiftUp (bool, double) const |
virtual void | specificPaintData (QPainter *painter, const QRect &ourClipRect, KDChartTableDataBase *data, KDChartDataRegionList *regions, const KDChartAxisParams *axisPara, bool bNormalMode, uint chart, double logWidth, double areaWidthP1000, double logHeight, double axisYOffset, double minColumnValue, double maxColumnValue, double columnValueDistance, uint chartDatasetStart, uint chartDatasetEnd, uint datasetStart, uint datasetEnd) |
virtual QString | fallbackLegendText (uint dataset) const |
virtual uint | numLegendFallbackTexts (KDChartTableDataBase *data) const |
Friends | |
class | KDChartPainter |
Constructor & Destructor Documentation
|
Constructor. Sets up internal data structures as necessary.
Definition at line 48 of file KDChartHiLoPainter.cpp. |
|
Destructor.
Definition at line 59 of file KDChartHiLoPainter.cpp. |
Member Function Documentation
|
This method is a specialization that returns a fallback legend text appropriate for HiLo that do not have the same notion of a dataset like e.g. bars. This method is only used when automatic legends are used, because manual and first-column legends do not need fallback texts.
Reimplemented from KDChartPainter. Definition at line 78 of file KDChartHiLoPainter.cpp. |
|
This methods returns the number of elements to be shown in the legend in case fallback texts are used. This method is only used when automatic legends are used, because manual and first-column legends do not need fallback texts.
Reimplemented from KDChartPainter. Definition at line 93 of file KDChartHiLoPainter.cpp. |
The documentation for this class was generated from the following files: