wxFreeChart
Public Member Functions | Protected Member Functions | List of all members
XYLineStepRenderer Class Reference

Renderer for xy datasets, where next x coordinate is always greater than previous. More...

#include <xylinerenderer.h>

Inheritance diagram for XYLineStepRenderer:
Inheritance graph
[legend]
Collaboration diagram for XYLineStepRenderer:
Collaboration graph
[legend]

Public Member Functions

 XYLineStepRenderer (int defaultWidth=1, wxPenStyle defaultStyle=wxPENSTYLE_SOLID)
 
- 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 SymbolGetSerieSymbol (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
 

Detailed Description

Renderer for xy datasets, where next x coordinate is always greater than previous.

It's aim to be fast to render large datasets. It also doesn't support symbols drawing.

Definition at line 99 of file xylinerenderer.h.


The documentation for this class was generated from the following file: