kchart

KDChartAreaPainter Class Reference

#include <KDChartAreaPainter.h>

Inheritance diagram for KDChartAreaPainter:

KDChartLinesPainter KDChartAxesPainter KDChartPainter List of all members.

Detailed Description

Implements a chart painter that draws area charts.

Definition at line 37 of file KDChartAreaPainter.h.


Protected Member Functions

 KDChartAreaPainter (KDChartParams *params)
virtual ~KDChartAreaPainter ()
virtual void paintData (QPainter *painter, KDChartTableDataBase *data, bool paint2nd, KDChartDataRegionList *regions=0)

Friends

class KDChartPainter

Constructor & Destructor Documentation

KDChartAreaPainter::KDChartAreaPainter ( KDChartParams params  )  [protected]

Constructor.

Sets up internal data structures as necessary.

Parameters:
params the KDChartParams structure that defines the chart

Definition at line 42 of file KDChartAreaPainter.cpp.

KDChartAreaPainter::~KDChartAreaPainter (  )  [protected, virtual]

Destructor.

Definition at line 53 of file KDChartAreaPainter.cpp.


Member Function Documentation

void KDChartAreaPainter::paintData ( QPainter *  painter,
KDChartTableDataBase data,
bool  paint2nd,
KDChartDataRegionList regions = 0 
) [protected, virtual]

Paints the actual data area.

Parameters:
painter the QPainter onto which the chart should be painted
data the data that will be displayed as a chart
paint2nd specifies whether the main chart or the additional chart is to be drawn now
regions a pointer to a list of regions that will be filled with regions representing the data segments, if not null

Reimplemented from KDChartLinesPainter.

Definition at line 68 of file KDChartAreaPainter.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys