10 #ifndef BARRENDERER_H_
11 #define BARRENDERER_H_
13 #include "wx/xy/xyrenderer.h"
14 #include "wx/areadraw.h"
45 virtual double GetMinValue(
CategoryDataset *dataset,
bool verticalAxis);
46 virtual double GetMaxValue(
CategoryDataset *dataset,
bool verticalAxis);
60 virtual void GetBarGeometry(
CategoryDataset *dataset,
size_t item,
size_t serie,
61 int &width, wxCoord &shift,
double &base,
double &value) = 0;
78 NormalBarType(
int barWidth,
int serieGap = 1,
double base = 0.0);
83 int &width, wxCoord &shift,
double &base,
double &value);
104 virtual double GetMinValue(
CategoryDataset *dataset,
bool verticalAxis);
105 virtual double GetMaxValue(
CategoryDataset *dataset,
bool verticalAxis);
109 int &width, wxCoord &shift,
double &base,
double &value);
131 int &width, wxCoord &shift,
double &base,
double &value);
134 int m_initialBarWidth;
173 void SetBarType(
BarType *barType);
186 void SetBarDraw(
size_t serie,
AreaDraw *areaDraw);
Definition: categorydataset.h:19
virtual void GetBarGeometry(CategoryDataset *dataset, size_t item, size_t serie, int &width, wxCoord &shift, double &base, double &value)=0
Definition: chartrenderer.h:21
Definition: areadraw.h:22
Definition: barrenderer.h:118
Definition: barrenderer.h:140
Definition: barrenderer.h:93
Definition: areadraw.h:182
Definition: barrenderer.h:69
virtual void DrawLegendSymbol(wxDC &dc, wxRect rcSymbol, size_t serie)
Definition: renderer.cpp:50
Definition: barrenderer.h:23