#include <pieplot.h>
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) |
wxChartPanel * | GetChartPanel () |
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 |
Pie plot. TODO: initial quick and dirty, must be cleaned up or rewritten.
|
protectedvirtual |
Perform data rendering. Must be overriden by derivative classes.
dc | device context |
rc | rectangle where to draw |
Implements Plot.
|
protectedvirtual |
Checks whether plot has data. Must be overriden by derivative classes.
Implements Plot.