Version: 0.6.0
Inheritance diagram for XYLineRendererBase:
Collaboration diagram for XYLineRendererBase:

Public Member Functions

 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)=0
 
virtual void DrawSymbols (wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset)
 
- Protected Member Functions inherited from DrawObject
 FIRE_WITH_THIS (NeedRedraw)
 

Protected Attributes

bool m_drawSymbols
 
bool m_drawLines
 
- Protected Attributes inherited from Observable< DrawObserver >
std::vector< DrawObserver * > observers
 

Additional Inherited Members

- Public Types inherited from Observable< DrawObserver >
typedef DrawObserver Observer
 
- Public Attributes inherited from Observable< DrawObserver >
std::vector< DrawObserver * >
::iterator 
OIt
 

Member Function Documentation

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

Draws dataset.

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

Implements XYRenderer.

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

Draws legend symbol.

Parameters
dcdevice context
rcSymbolrectangle where to draw
serieserie index

Reimplemented from Renderer.

Here is the call graph for this function:

wxColour XYLineRendererBase::GetSerieColour ( size_t  serie)
virtual

Returns serie color.

Parameters
serieserie index
Returns
serie color

Reimplemented from Renderer.

Here is the caller graph for this function:

wxPen * XYLineRendererBase::GetSeriePen ( size_t  serie)

Returns pen, used to draw specified serie lines.

Parameters
serieserie index
Returns
pen

Here is the caller graph for this function:

void XYLineRendererBase::SetSerieColour ( size_t  serie,
wxColour *  colour 
)
virtual

Sets serie color.

Parameters
serieserie index
colorcolor for serie

Reimplemented from Renderer.

Here is the call graph for this function:

void XYLineRendererBase::SetSeriePen ( size_t  serie,
wxPen *  pen 
)

Sets pen to draw serie lines.

Parameters
serieserie index
penpen for serie

Here is the caller graph for this function:


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