wxFreeChart
Public Member Functions | List of all members
Renderer Class Reference

Base class for all renderers. More...

#include <chartrenderer.h>

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

Public Member Functions

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 renderers.

Definition at line 21 of file chartrenderer.h.

Member Function Documentation

virtual void Renderer::DrawLegendSymbol ( wxDC &  dc,
wxRect  rcSymbol,
size_t  serie 
)
virtual

Draws legend symbol.

Parameters
dcdevice context
rcSymbolrectangle where to draw
serieserie index

Reimplemented in BarRenderer, XYLineRendererBase, GanttRenderer, and CategoryRenderer.

virtual wxColour Renderer::GetSerieColour ( size_t  serie)
virtual

Returns serie color.

Returns
serie color

Reimplemented in XYLineRendererBase.

virtual Symbol* Renderer::GetSerieSymbol ( size_t  serie)
virtual

returns symbol for serie.

Returns
symbol for specified serie
virtual void Renderer::SetSerieColour ( size_t  serie,
wxColour *  color 
)
virtual

Sets color for serie.

Parameters
serieserie index
symbolnew color for specified serie

Reimplemented in XYLineRendererBase.

virtual void Renderer::SetSerieSymbol ( size_t  serie,
Symbol symbol 
)
virtual

Sets symbol for serie.

Parameters
serieserie index
symbolnew symbol for specified serie

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