Version: 0.6.0

#include <barrenderer.h>

Inheritance diagram for StackedBarType:
Collaboration diagram for StackedBarType:

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
 

Detailed Description

Draws series' bars in stack, after each other.

Constructor & Destructor Documentation

StackedBarType::StackedBarType ( int  barWidth,
double  base 
)

Constructs new stacked bar type.

Parameters
barWidthbar width
basebars base, point from bars are drawn

Member Function Documentation

void StackedBarType::GetBarGeometry ( CategoryDataset dataset,
size_t  item,
size_t  serie,
int &  width,
wxCoord &  shift,
double &  base,
double &  value 
)
protectedvirtual

Called to calculate bar geometry params. Must be implemented by derivate classes.

Parameters
datasetdataset
itemitem index
serieserie index
widthoutput for bar width
shiftoutput for bar shift
baseoutput for bar base
valueoutput for bar value

Implements BarType.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/freechart/wx/bars/barrenderer.h
  • /home/bishop/work/projects/nextgismanager/src/freechart/bars/barrenderer.cpp