#include <categorydataset.h>
Dataset for data values in form [category name, value].
bool CategoryDataset::AcceptRenderer |
( |
Renderer * |
r | ) |
|
|
protectedvirtual |
Checks whether renderer is acceptable by this dataset. TODO: this method must be removed, because acceptable renderer type depends on plot type.
Reimplemented from XYDataset.
virtual size_t CategoryDataset::GetCount |
( |
| ) |
|
|
pure virtual |
virtual size_t CategoryDataset::GetCount |
( |
size_t |
serie | ) |
|
|
virtual |
Returns value count in serie specified by index.
- Parameters
-
- Returns
- value count
Implements Dataset.
Reimplemented in GanttDataset.
double CategoryDataset::GetMaxValue |
( |
bool |
vertical | ) |
|
|
virtual |
Returns maximal value.
- Parameters
-
vertical | for datasets with XY coordinates, specifies direction |
- Returns
- maximal value
Reimplemented from XYDataset.
double CategoryDataset::GetMinValue |
( |
bool |
vertical | ) |
|
|
virtual |
Returns minimal value.
- Parameters
-
vertical | for datasets with XY coordinates, specifies direction |
- Returns
- minimal value
Reimplemented from XYDataset.
virtual wxString CategoryDataset::GetName |
( |
size_t |
index | ) |
|
|
pure virtual |
virtual double CategoryDataset::GetValue |
( |
size_t |
index, |
|
|
size_t |
serie |
|
) |
| |
|
pure virtual |
Returns value associated with category at index.
- Parameters
-
index | value associated with category |
- Returns
- value associated with category
Implemented in CategorySimpleDataset, and GanttSimpleDataset.
double CategoryDataset::GetX |
( |
size_t |
index, |
|
|
size_t |
serie |
|
) |
| |
|
virtual |
Returns x value at index.
- Parameters
-
- Returns
- x value
Implements XYDataset.
double CategoryDataset::GetY |
( |
size_t |
index, |
|
|
size_t |
serie |
|
) |
| |
|
virtual |
Returns y value at index.
- Parameters
-
- Returns
- y value
Implements XYDataset.
The documentation for this class was generated from the following files:
- /home/bishop/work/projects/nextgismanager/include/freechart/wx/category/categorydataset.h
- /home/bishop/work/projects/nextgismanager/src/freechart/category/categorydataset.cpp