#include <barrenderer.h>


Public Member Functions | |
| StackedBarType (int barWidth, double base) | |
| virtual double | GetMinValue (CategoryDataset *dataset, bool verticalAxis) |
| virtual double | GetMaxValue (CategoryDataset *dataset, bool verticalAxis) |
Public Member Functions inherited from BarType | |
| BarType (double base) | |
| virtual void | Draw (BarRenderer *barRenderer, wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, bool vertical, size_t item, CategoryDataset *dataset) |
Protected Member Functions | |
| virtual void | GetBarGeometry (CategoryDataset *dataset, size_t item, size_t serie, int &width, wxCoord &shift, double &base, double &value) |
Additional Inherited Members | |
Protected Attributes inherited from BarType | |
| double | m_base |
Draws series' bars in stack, after each other.
| StackedBarType::StackedBarType | ( | int | barWidth, |
| double | base | ||
| ) |
Constructs new stacked bar type.
| barWidth | bar width |
| base | bars base, point from bars are drawn |
|
protectedvirtual |
Called to calculate bar geometry params. Must be implemented by derivate classes.
| dataset | dataset |
| item | item index |
| serie | serie index |
| width | output for bar width |
| shift | output for bar shift |
| base | output for bar base |
| value | output for bar value |
Implements BarType.
