KDChartPainter.h
Header for all common chart parameters.
#define KDCHART_MAX_AXES
Charts have up to 12 axes: up to two axes on both sides for X, Y and Z (if data is 3-dimensional).
Definition KDChartParams.h:109
The collection class used by KD Chart to store data region information.
virtual void paintAxes(TQPainter *painter, KDChartTableDataBase *data)
Paints the axes for the chart.
Definition KDChartPainter.cpp:1228
virtual void setupGeometry(TQPainter *painter, KDChartTableDataBase *data, const TQRect &rect)
This method will be called whenever any parameters that affect geometry have been changed.
Definition KDChartPainter.cpp:2156
virtual void paintHeaderFooter(TQPainter *painter, KDChartTableDataBase *data)
Paints the header and footers for the chart.
Definition KDChartPainter.cpp:1636
virtual void paintAreaWithGap(TQPainter *painter, TQRect rect, const KDChartParams::KDChartFrameSettings &settings)
Paints an area frame.
Definition KDChartPainter.cpp:410
static void drawMarker(TQPainter *painter, int style, const TQColor &color, const TQPoint &p, const TQSize &size, uint align=TQt::AlignCenter)
Draws the marker for one data point according to the specified style, color, size.
Definition KDChartPainter.cpp:2573
virtual TQString fallbackLegendText(uint dataset) const
This method provides a fallback legend text for the specified dataset, if there was no other way to d...
Definition KDChartPainter.cpp:2540
virtual TQRect calculateAreaRect(bool &allCustomBoxes, uint area, uint dataRow, uint dataCol, uint data3rd, KDChartDataRegionList *regions) const
Calculated the rectangle covered by an area.
Definition KDChartPainter.cpp:1025
virtual void paintArea(TQPainter *painter, uint area, KDChartDataRegionList *regions=0, uint dataRow=0, uint dataCol=0, uint data3rd=0)
Paints an area frame.
Definition KDChartPainter.cpp:332
virtual void paintCustomBoxes(TQPainter *painter, KDChartDataRegionList *regions)
Paints all custom boxes.
Definition KDChartPainter.cpp:920
virtual void paintDataValues(TQPainter *painter, KDChartTableDataBase *data, KDChartDataRegionList *regions)
Paints the data value texts near the data representations.
Definition KDChartPainter.cpp:424
virtual TQPoint calculateAnchor(const KDChartCustomBox &box, KDChartDataRegionList *regions=0) const
Calculated the top left corner of a custom box.
Definition KDChartPainter.cpp:964
virtual void paintLegend(TQPainter *painter, KDChartTableDataBase *data)
Paints the legend for the chart.
Definition KDChartPainter.cpp:1374
virtual uint numLegendFallbackTexts(KDChartTableDataBase *data) const
This methods returns the number of elements to be shown in the legend in case fallback texts are used...
Definition KDChartPainter.cpp:2558
virtual void paint(TQPainter *painter, KDChartTableDataBase *data, bool paintFirst, bool paintLast, KDChartDataRegionList *regions=0, const TQRect *rect=0, bool mustCalculateGeometry=true)
Paints the chart for which this chart painter is configured on a TQPainter.
Definition KDChartPainter.cpp:227
static KDChartPainter * create(KDChartParams *params, bool make2nd=false)
Creates an object of a concrete subclass of KDChartPainter that KDChart::paint() (and consequently,...
Definition KDChartPainter.cpp:145
static void unregisterPainter(const TQString &painterName)
Unregisters a user-defined painter implementation.
Definition KDChartPainter.cpp:208
static void registerPainter(const TQString &painterName, KDChartPainter *painter)
Registers a user-defined painter implementation which is identified by a string.
Definition KDChartPainter.cpp:191
Stores the frame settings for one of the chart areas:
Definition KDChartParams.h:224
Property settings of a single KDChart data cell.
Definition KDChartPropertySet.h:67
KD Chart's build-in table data for an easy way of storing data values.
Definition KDChartTableBase.h:88
