#include <ganttrenderer.h>
|
| GanttRenderer (int barWidth=5, int serieGap=2) |
|
virtual void | DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, size_t serie) |
|
void | Draw (wxDC &dc, wxRect rc, DateAxis *horizAxis, CategoryAxis *vertAxis, GanttDataset *dataset) |
|
void | SetSerieDraw (size_t serie, AreaDraw *areaDraw) |
|
AreaDraw * | GetSerieDraw (size_t serie) |
|
void | SetBarWidth (int barWidth) |
|
virtual void | SetSerieColour (size_t serie, wxColour *color) |
|
virtual wxColour | GetSerieColour (size_t serie) |
|
virtual void | SetSerieSymbol (size_t serie, Symbol *symbol) |
|
virtual Symbol * | GetSerieSymbol (size_t serie) |
|
void | AddObserver (DrawObserver *_observer) |
|
void | RemoveObserver (DrawObserver *_observer) |
|
void | AddRef () |
|
void | Unref () |
|
int | RefCount () |
|
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 |
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 files:
- /home/bishop/work/projects/nextgismanager/include/freechart/wx/gantt/ganttrenderer.h
- /home/bishop/work/projects/nextgismanager/src/freechart/gantt/ganttrenderer.cpp