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

Detailed Description
A chart painter implementation that can paint Box&Whisker charts.
Definition at line 40 of file KDChartBWPainter.h.
Protected Member Functions | |
KDChartBWPainter (KDChartParams *params) | |
virtual | ~KDChartBWPainter () |
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 54 of file KDChartBWPainter.cpp. |
|
Destructor.
Definition at line 65 of file KDChartBWPainter.cpp. |
Member Function Documentation
|
This method is a specialization that returns a fallback legend text appropriate for BW 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 213 of file KDChartBWPainter.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 228 of file KDChartBWPainter.cpp. |
|
Paints the actual data area and registers the region for the data points if regions is not 0.
Implements KDChartAxesPainter. Definition at line 254 of file KDChartBWPainter.cpp. |
The documentation for this class was generated from the following files: