Gantt data renderer.
More...
#include <ganttrenderer.h>
|
| GanttRenderer (int barWidth=5, int serieGap=2) |
| Constructs new gantt renderer. More...
|
|
virtual void | DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, size_t serie) |
| Draws legend symbol. More...
|
|
void | Draw (wxDC &dc, wxRect rc, DateAxis *horizAxis, CategoryAxis *vertAxis, GanttDataset *dataset) |
| Drawn gantt dataset. More...
|
|
void | SetSerieDraw (size_t serie, AreaDraw *areaDraw) |
| Sets area draw object to draw specified serie. More...
|
|
AreaDraw * | GetSerieDraw (size_t serie) |
|
void | SetBarWidth (int barWidth) |
|
virtual void | SetSerieColour (size_t serie, wxColour *color) |
| Sets color for serie. More...
|
|
virtual wxColour | GetSerieColour (size_t serie) |
| Returns serie color. More...
|
|
virtual void | SetSerieSymbol (size_t serie, Symbol *symbol) |
| Sets symbol for serie. More...
|
|
virtual Symbol * | GetSerieSymbol (size_t serie) |
| returns symbol for serie. More...
|
|
void | AddRef () |
|
void | Unref () |
|
int | RefCount () |
|
Gantt data renderer.
Definition at line 20 of file ganttrenderer.h.
GanttRenderer::GanttRenderer |
( |
int |
barWidth = 5 , |
|
|
int |
serieGap = 2 |
|
) |
| |
Constructs new gantt renderer.
- Parameters
-
barWidth | bar width |
serieGap | distance between series |
Drawn gantt dataset.
- Parameters
-
dc | device context |
rc | rectangle where to draw |
horizAxis | horizontal axis |
vertAxis | vertical axis |
dataset | dataset to draw |
virtual void GanttRenderer::DrawLegendSymbol |
( |
wxDC & |
dc, |
|
|
wxRect |
rcSymbol, |
|
|
size_t |
serie |
|
) |
| |
|
virtual |
Draws legend symbol.
- Parameters
-
dc | device context |
rcSymbol | rectangle where to draw |
serie | serie index |
Reimplemented from Renderer.
void GanttRenderer::SetSerieDraw |
( |
size_t |
serie, |
|
|
AreaDraw * |
areaDraw |
|
) |
| |
Sets area draw object to draw specified serie.
- Parameters
-
serie | serie index |
ad | area draw for serie |
The documentation for this class was generated from the following file: