kchart

KDChartBarPainter Class Reference

#include <KDChartBarPainter.h>

Inheritance diagram for KDChartBarPainter:

KDChartAxesPainter KDChartPainter List of all members.

Detailed Description

A chart painter implementation that can paint bar charts.

Definition at line 39 of file KDChartBarPainter.h.


Protected Member Functions

 KDChartBarPainter (KDChartParams *params)
virtual ~KDChartBarPainter ()
virtual bool isNormalMode () const
virtual int clipShiftUp (bool normalMode, double areaWidthP1000) 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 void calculateXFront1_2 (bool bNormalMode, bool bIsVeryFirstBar, bool bIsFirstDataset, bool _bThreeDBars, double xpos, double valueBlockGap, double datasetGap, double frontBarWidth, int &frontX1, int &frontX2, int &previousFrontX2)

Friends

class KDChartPainter

Constructor & Destructor Documentation

KDChartBarPainter::KDChartBarPainter KDChartParams params  )  [protected]
 

Constructor.

Sets up internal data structures as necessary.

Parameters:
params the KDChartParams structure that defines the chart

Definition at line 47 of file KDChartBarPainter.cpp.

KDChartBarPainter::~KDChartBarPainter  )  [protected, virtual]
 

Destructor.

Definition at line 58 of file KDChartBarPainter.cpp.


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