10 #ifndef BARRENDERER_H_ 11 #define BARRENDERER_H_ 13 #include "wx/xy/xyrenderer.h" 14 #include "wx/areadraw.h" 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);
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);
Base class for all renderers.
Dataset for data values in form [category name, value].
Draws series' bars overlapped.
Collection of areadraws for series.
Draws series' bars in stack, after each other.
virtual void GetBarGeometry(CategoryDataset *dataset, size_t item, size_t serie, int &width, wxCoord &shift, double &base, double &value)=0
Called to calculate bar geometry params.
Base class for drawing area background.
virtual void DrawLegendSymbol(wxDC &dc, wxRect rcSymbol, size_t serie)
Draws legend symbol.