wxFreeChart
|
Renderer for drawing lines from xy datasets. More...
#include <xylinerenderer.h>
Public Member Functions | |
XYLineRenderer (bool drawSymbols=false, bool drawLines=true, int defaultWidth=2, wxPenStyle defaultStyle=wxPENSTYLE_SOLID) | |
Constructs new line renderer. More... | |
Public Member Functions inherited from XYLineRendererBase | |
XYLineRendererBase (bool drawSymbols, bool drawLines, int defaultWidth=2, wxPenStyle defaultStyle=wxPENSTYLE_SOLID) | |
virtual void | SetSerieColour (size_t serie, wxColour *colour) |
Sets serie color. More... | |
virtual wxColour | GetSerieColour (size_t serie) |
Returns serie color. More... | |
void | SetSeriePen (size_t serie, wxPen *pen) |
Sets pen to draw serie lines. More... | |
wxPen * | GetSeriePen (size_t serie) |
Returns pen, used to draw specified serie lines. More... | |
virtual void | Draw (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset) |
Draws dataset. More... | |
virtual void | DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, size_t serie) |
Draws legend symbol. More... | |
Public Member Functions inherited from Renderer | |
virtual void | SetSerieSymbol (size_t serie, Symbol *symbol) |
Sets symbol for serie. More... | |
virtual Symbol * | GetSerieSymbol (size_t serie) |
returns symbol for serie. More... | |
Public Member Functions inherited from RefObject | |
void | AddRef () |
void | Unref () |
int | RefCount () |
Protected Member Functions | |
virtual void | DrawLines (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset) |
Protected Member Functions inherited from XYLineRendererBase | |
virtual void | DrawSymbols (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset) |
Additional Inherited Members | |
Protected Attributes inherited from XYLineRendererBase | |
bool | m_drawSymbols |
bool | m_drawLines |
Renderer for drawing lines from xy datasets.
Can also draw symbols at line points.
Definition at line 75 of file xylinerenderer.h.
XYLineRenderer::XYLineRenderer | ( | bool | drawSymbols = false , |
bool | drawLines = true , |
||
int | defaultWidth = 2 , |
||
wxPenStyle | defaultStyle = wxPENSTYLE_SOLID |
||
) |
Constructs new line renderer.
drawSymbols | specifies whether to draw symbols at line points |
drawLines | specifies whether to draw lines |
defaultWidth | specifies default width for lines |
defaultStyle | specifies default style for lines |