Dataset for data values in form [category name, value].
More...
#include <categorydataset.h>
Dataset for data values in form [category name, value].
Definition at line 19 of file categorydataset.h.
virtual 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.
virtual double CategoryDataset::GetMaxValue |
( |
bool |
vertical | ) |
|
|
virtual |
Returns maximal value.
- Parameters
-
vertical | for datasets with XY coordinates, specifies direction |
- Returns
- maximal value
Reimplemented from XYDataset.
virtual 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.
virtual double CategoryDataset::GetX |
( |
size_t |
index, |
|
|
size_t |
serie |
|
) |
| |
|
virtual |
Returns x value at index.
- Parameters
-
- Returns
- x value
Implements XYDataset.
virtual 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 file: