Version: 0.6.0

#include <pieplot.h>

Inheritance diagram for PiePlot:
Collaboration diagram for PiePlot:

Public Member Functions

void SetDataset (CategoryDataset *dataset)
 
void SetUsedSerie (size_t serie)
 
void SetColorScheme (ColorScheme *cs)
 
void Set3DView (bool use3DView)
 
void SetEllipticAspect (float ellipticAspect)
 
void SetLegend (Legend *legend)
 
virtual void DatasetChanged (Dataset *dataset)
 
- Public Member Functions inherited from Plot
virtual void Draw (wxDC &dc, wxRect rc)
 
virtual void DrawNoDataMessage (wxDC &dc, wxRect rc)
 
void SetChartPanel (wxChartPanel *chartPanel)
 
wxChartPanelGetChartPanel ()
 
void SetBackground (AreaDraw *background)
 
void SetTextNoData (const wxString &textNoData)
 
- Public Member Functions inherited from Observable< PlotObserver >
void AddObserver (PlotObserver *_observer)
 
void RemoveObserver (PlotObserver *_observer)
 

Protected Member Functions

virtual bool HasData ()
 
virtual void DrawData (wxDC &dc, wxRect rc)
 
- Protected Member Functions inherited from Plot
virtual void ChartPanelChanged (wxChartPanel *oldPanel, wxChartPanel *newPanel)
 
 FIRE_WITH_THIS (PlotNeedRedraw)
 

Additional Inherited Members

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

Detailed Description

Pie plot. TODO: initial quick and dirty, must be cleaned up or rewritten.

Member Function Documentation

void PiePlot::DrawData ( wxDC &  dc,
wxRect  rc 
)
protectedvirtual

Perform data rendering. Must be overriden by derivative classes.

Parameters
dcdevice context
rcrectangle where to draw

Implements Plot.

Here is the call graph for this function:

bool PiePlot::HasData ( )
protectedvirtual

Checks whether plot has data. Must be overriden by derivative classes.

Returns
true if plot has data, false overwise

Implements Plot.

Here is the call graph for this function:


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