Version: 0.6.0

#include <xylinerenderer.h>

Inheritance diagram for XYLineRenderer:
Collaboration diagram for XYLineRenderer:

Public Member Functions

 XYLineRenderer (bool drawSymbols=false, bool drawLines=true, int defaultWidth=1, int defaultStyle=wxSOLID)
 
- Public Member Functions inherited from XYLineRendererBase
 XYLineRendererBase (bool drawSymbols, bool drawLines, int defaultWidth=1, int defaultStyle=wxSOLID)
 
virtual void SetSerieColour (size_t serie, wxColour *colour)
 
virtual wxColour GetSerieColour (size_t serie)
 
void SetSeriePen (size_t serie, wxPen *pen)
 
wxPen * GetSeriePen (size_t serie)
 
virtual void Draw (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset)
 
virtual void DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, size_t serie)
 
- Public Member Functions inherited from Renderer
virtual void SetSerieSymbol (size_t serie, Symbol *symbol)
 
virtual SymbolGetSerieSymbol (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 ()
 

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)
 
- Protected Member Functions inherited from DrawObject
 FIRE_WITH_THIS (NeedRedraw)
 

Additional Inherited Members

- Public Types inherited from Observable< DrawObserver >
typedef DrawObserver Observer
 
- Public Attributes inherited from Observable< DrawObserver >
std::vector< DrawObserver * >
::iterator 
OIt
 
- Protected Attributes inherited from XYLineRendererBase
bool m_drawSymbols
 
bool m_drawLines
 
- Protected Attributes inherited from Observable< DrawObserver >
std::vector< DrawObserver * > observers
 

Detailed Description

Renderer for drawing lines from xy datasets. Can also draw symbols at line points.

Constructor & Destructor Documentation

XYLineRenderer::XYLineRenderer ( bool  drawSymbols = false,
bool  drawLines = true,
int  defaultWidth = 1,
int  defaultStyle = wxSOLID 
)

Constructs new line renderer.

Parameters
drawSymbolsspecifies whether to draw symbols at line points
drawLinesspecifies whether to draw lines
defaultWidthspecifies default width for lines
defaultStylespecifies default style for lines

The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/freechart/wx/xy/xylinerenderer.h
  • /home/bishop/work/projects/nextgismanager/src/freechart/xy/xylinerenderer.cpp