NormalBarType Class Reference

#include <barrenderer.h>

Inheritance diagram for NormalBarType:

Inheritance graph
[legend]
Collaboration diagram for NormalBarType:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 NormalBarType (int barWidth, int serieGap=1, double base=0.0)

Protected Member Functions

virtual void GetBarGeometry (CategoryDataset *dataset, size_t item, size_t serie, int &width, wxCoord &shift, double &base, double &value)


Detailed Description

Normal bar type. Draws series' bars parallel to each other.

Constructor & Destructor Documentation

NormalBarType::NormalBarType ( int  barWidth,
int  serieGap = 1,
double  base = 0.0 
)

Constructs new normal bar type.

Parameters:
barWidth bar width
serieGap distance between series bars
base bars base, point from bars are drawn


Member Function Documentation

virtual void NormalBarType::GetBarGeometry ( CategoryDataset dataset,
size_t  item,
size_t  serie,
int &  width,
wxCoord &  shift,
double &  base,
double &  value 
) [protected, virtual]

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

Parameters:
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.


The documentation for this class was generated from the following file:

Generated on Mon Feb 15 21:32:27 2010 for wxFreeChart by  doxygen 1.5.8