#include <ganttsimpledataset.h>
GanttSimpleDataset::GanttSimpleDataset |
( |
size_t |
dateCount, |
|
|
const wxChar ** |
taskNames, |
|
|
size_t |
taskNamesCount |
|
) |
| |
Construct new gantt demo dataset.
- Parameters
-
dateCount | |
taskNames | names for tasks |
taskNamesCount | count of names |
void GanttSimpleDataset::AddSerie |
( |
GanttSerie * |
serie | ) |
|
Add new serie to dataset.
- Parameters
-
size_t GanttSimpleDataset::GetCount |
( |
| ) |
|
|
virtual |
Returns task count.
- Returns
- task count
Implements GanttDataset.
time_t GanttSimpleDataset::GetEnd |
( |
size_t |
index, |
|
|
size_t |
serie |
|
) |
| |
|
virtual |
Returns task end time.
- Parameters
-
index | task index |
serie | serie index |
- Returns
- task end time
Implements GanttDataset.
wxString GanttSimpleDataset::GetName |
( |
size_t |
index | ) |
|
|
virtual |
Returns category name at index.
- Parameters
-
index | index of category name |
- Returns
- category name
Implements CategoryDataset.
size_t GanttSimpleDataset::GetSerieCount |
( |
| ) |
|
|
virtual |
Returns serie count in this dataset.
- Returns
- serie count
Implements Dataset.
wxString GanttSimpleDataset::GetSerieName |
( |
size_t |
serie | ) |
|
|
virtual |
Returns serie name.
- Parameters
-
- Returns
- serie name
Implements Dataset.
time_t GanttSimpleDataset::GetStart |
( |
size_t |
index, |
|
|
size_t |
serie |
|
) |
| |
|
virtual |
Returns task start time.
- Parameters
-
index | task index |
serie | serie index |
- Returns
- task start time
Implements GanttDataset.
double GanttSimpleDataset::GetValue |
( |
size_t |
index, |
|
|
size_t |
serie |
|
) |
| |
|
virtual |
Returns value associated with category at index.
- Parameters
-
index | value associated with category |
- Returns
- value associated with category
Implements CategoryDataset.
The documentation for this class was generated from the following files:
- /home/bishop/work/projects/nextgismanager/include/freechart/wx/gantt/ganttsimpledataset.h
- /home/bishop/work/projects/nextgismanager/src/freechart/gantt/ganttsimpledataset.cpp