Version: 0.6.0
Renderer Class Reference

#include <chartrenderer.h>

Inheritance diagram for Renderer:
Collaboration diagram for Renderer:

Public Member Functions

virtual void SetSerieColour (size_t serie, wxColour *color)
 
virtual wxColour GetSerieColour (size_t serie)
 
virtual void SetSerieSymbol (size_t serie, Symbol *symbol)
 
virtual SymbolGetSerieSymbol (size_t serie)
 
virtual void DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, size_t serie)
 
- Public Member Functions inherited from Observable< DrawObserver >
void AddObserver (DrawObserver *_observer)
 
void RemoveObserver (DrawObserver *_observer)
 
- Public Member Functions inherited from RefObject
void AddRef ()
 
void Unref ()
 
int RefCount ()
 

Additional Inherited Members

- Public Types inherited from Observable< DrawObserver >
typedef DrawObserver Observer
 
- Public Attributes inherited from Observable< DrawObserver >
std::vector< DrawObserver * >
::iterator 
OIt
 
- Protected Member Functions inherited from DrawObject
 FIRE_WITH_THIS (NeedRedraw)
 
- Protected Attributes inherited from Observable< DrawObserver >
std::vector< DrawObserver * > observers
 

Detailed Description

Base class for all renderers.

Member Function Documentation

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.

Here is the call graph for this function:

Here is the caller graph for this function:

wxColour Renderer::GetSerieColour ( size_t  serie)
virtual

Returns serie color.

Returns
serie color

Reimplemented in XYLineRendererBase.

Here is the caller graph for this function:

Symbol * Renderer::GetSerieSymbol ( size_t  serie)
virtual

returns symbol for serie.

Returns
symbol for specified serie

Here is the caller graph for this function:

void Renderer::SetSerieColour ( size_t  serie,
wxColour *  color 
)
virtual

Sets color for serie.

Parameters
serieserie index
symbolnew color for specified serie

Reimplemented in XYLineRendererBase.

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 files:
  • /home/bishop/work/projects/nextgismanager/include/freechart/wx/chartrenderer.h
  • /home/bishop/work/projects/nextgismanager/src/freechart/renderer.cpp