wxFreeChart
Public Member Functions | List of all members
XYRenderer Class Referenceabstract

Base class for all XYDataset renderers. More...

#include <xyrenderer.h>

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

Public Member Functions

virtual void Draw (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset)=0
 Draws dataset. More...
 
- Public Member Functions inherited from Renderer
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 SymbolGetSerieSymbol (size_t serie)
 returns symbol for serie. More...
 
virtual void DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, size_t serie)
 Draws legend symbol. More...
 
- Public Member Functions inherited from RefObject
void AddRef ()
 
void Unref ()
 
int RefCount ()
 

Detailed Description

Base class for all XYDataset renderers.

Definition at line 20 of file xyrenderer.h.

Member Function Documentation

virtual void XYRenderer::Draw ( wxDC &  dc,
wxRect  rc,
Axis horizAxis,
Axis vertAxis,
XYDataset dataset 
)
pure virtual

Draws dataset.

Parameters
dcdevice context
rcrectangle where to draw
horizAxishorizontal axis
vertAxisvertical axis
datasetdataset to be drawn

Implemented in XYLineRendererBase, XYHistoRenderer, and XYAreaRenderer.


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