wxFreeChart
|
Pie plot. More...
#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 (ChartDC &cdc, wxRect rc, PlotDrawMode mode=PLOT_DRAW_ALL) |
Draws plot. More... | |
virtual void | DrawNoDataMessage (wxDC &dc, wxRect rc) |
Draws "no data" message. More... | |
void | SetChartPanel (wxChartPanel *chartPanel) |
wxChartPanel * | GetChartPanel () |
Returns chart panel (GUI component, at top level) if it. | |
void | SetBackground (AreaDraw *background) |
Sets plot background. More... | |
void | SetTextNoData (const wxString &textNoData) |
Sets text message drawn, when plot has no data to draw. More... | |
Protected Member Functions | |
virtual bool | HasData () |
Checks whether plot has data. More... | |
virtual void | DrawData (ChartDC &cdc, wxRect rc) |
Draw the plot data, i.e. More... | |
virtual void | DrawBackground (ChartDC &cdc, wxRect rc) |
Draw the plot's static items (e.g. More... | |
Protected Member Functions inherited from Plot | |
virtual void | ChartPanelChanged (wxChartPanel *oldPanel, wxChartPanel *newPanel) |
Called when chart panel is changed. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Plot | |
AreaDraw * | m_background |
Pie plot.
TODO: initial quick and dirty, must be cleaned up or rewritten.
|
inlineprotectedvirtual |
|
protectedvirtual |
Draw the plot data, i.e.
the lines, bars etc. on top of the background. 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.