KDChartHiLoPainter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef __KDCHARTHILOPAINTER_H__
00030 #define __KDCHARTHILOPAINTER_H__
00031
00032 #include "KDChartAxesPainter.h"
00033 #include <KDChartTable.h>
00034
00035 #include <qnamespace.h>
00036
00037 class KDChartParams;
00038
00039 class KDChartHiLoPainter : public KDChartAxesPainter, public Qt
00040 {
00041 friend class KDChartPainter;
00042 protected:
00043 KDChartHiLoPainter( KDChartParams* params );
00044 virtual ~KDChartHiLoPainter();
00045
00046 virtual bool isNormalMode() const;
00047 virtual int clipShiftUp( bool, double ) const;
00048 virtual void specificPaintData( QPainter* painter,
00049 const QRect& ourClipRect,
00050 KDChartTableDataBase* data,
00051 KDChartDataRegionList* regions,
00052 const KDChartAxisParams* axisPara,
00053 bool bNormalMode,
00054 uint chart,
00055 double logWidth,
00056 double areaWidthP1000,
00057 double logHeight,
00058 double axisYOffset,
00059 double minColumnValue,
00060 double maxColumnValue,
00061 double columnValueDistance,
00062 uint chartDatasetStart,
00063 uint chartDatasetEnd,
00064 uint datasetStart,
00065 uint datasetEnd );
00066
00067 virtual QString fallbackLegendText( uint dataset ) const;
00068 virtual uint numLegendFallbackTexts( KDChartTableDataBase* data ) const;
00069 };
00070
00071 #endif