|
| XYLineRendererBase (bool drawSymbols, bool drawLines, int defaultWidth=1, int defaultStyle=wxSOLID) |
|
virtual void | SetSerieColour (size_t serie, wxColour *colour) |
|
virtual wxColour | GetSerieColour (size_t serie) |
|
void | SetSeriePen (size_t serie, wxPen *pen) |
|
wxPen * | GetSeriePen (size_t serie) |
|
virtual void | Draw (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset) |
|
virtual void | DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, 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 () |
|
|
virtual void | DrawLines (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset)=0 |
|
virtual void | DrawSymbols (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset) |
|
| FIRE_WITH_THIS (NeedRedraw) |
|
|
bool | m_drawSymbols |
|
bool | m_drawLines |
|
std::vector< DrawObserver * > | observers |
|
void XYLineRendererBase::Draw |
( |
wxDC & |
dc, |
|
|
wxRect |
rc, |
|
|
Axis * |
horizAxis, |
|
|
Axis * |
vertAxis, |
|
|
XYDataset * |
dataset |
|
) |
| |
|
virtual |
Draws dataset.
- Parameters
-
dc | device context |
rc | rectangle where to draw |
horizAxis | horizontal axis |
vertAxis | vertical axis |
dataset | dataset to be drawn |
Implements XYRenderer.
void XYLineRendererBase::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.
wxColour XYLineRendererBase::GetSerieColour |
( |
size_t |
serie | ) |
|
|
virtual |
Returns serie color.
- Parameters
-
- Returns
- serie color
Reimplemented from Renderer.
wxPen * XYLineRendererBase::GetSeriePen |
( |
size_t |
serie | ) |
|
Returns pen, used to draw specified serie lines.
- Parameters
-
- Returns
- pen
void XYLineRendererBase::SetSerieColour |
( |
size_t |
serie, |
|
|
wxColour * |
colour |
|
) |
| |
|
virtual |
Sets serie color.
- Parameters
-
serie | serie index |
color | color for serie |
Reimplemented from Renderer.
void XYLineRendererBase::SetSeriePen |
( |
size_t |
serie, |
|
|
wxPen * |
pen |
|
) |
| |
Sets pen to draw serie lines.
- Parameters
-
serie | serie index |
pen | pen for serie |
The documentation for this class was generated from the following files:
- /home/bishop/work/projects/nextgismanager/include/freechart/wx/xy/xylinerenderer.h
- /home/bishop/work/projects/nextgismanager/src/freechart/xy/xylinerenderer.cpp