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

Detailed Description
A chart painter implementation that can paint polar charts.
Definition at line 36 of file KDChartPolarPainter.h.
Protected Member Functions | |
KDChartPolarPainter (KDChartParams *params) | |
virtual | ~KDChartPolarPainter () |
virtual void | paintData (QPainter *painter, KDChartTableDataBase *data, bool paint2nd, KDChartDataRegionList *regions=0) |
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 49 of file KDChartPolarPainter.cpp. |
|
Destructor.
Definition at line 60 of file KDChartPolarPainter.cpp. |
Member Function Documentation
|
This method is a specialization that returns a fallback legend text appropriate for polar charts where the fallbacks should come from the values, not from the datasets. 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 787 of file KDChartPolarPainter.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 802 of file KDChartPolarPainter.cpp. |
|
Paints the actual data area. Data regions will only be added if regions is not 0 and the chart is configured to be drawn with markers.
Implements KDChartPainter. Definition at line 77 of file KDChartPolarPainter.cpp. |
The documentation for this class was generated from the following files: