14 #include <wx/category/categorydataset.h> 15 #include <wx/category/categoryrenderer.h> 16 #include <wx/legend.h> 17 #include <wx/xy/xyarearenderer.h> 19 #include <wx/colorscheme.h> 21 const int shift3D = 20;
35 void SetUsedSerie(
size_t serie)
42 void Set3DView(
bool use3DView)
44 if (m_use3DView != use3DView)
45 m_use3DView = use3DView;
48 void SetEllipticAspect(
float ellipticAspect)
50 if (m_ellipticAspect != ellipticAspect && ellipticAspect > 0 && ellipticAspect <= 1)
51 m_ellipticAspect = ellipticAspect;
54 void SetLegend(
Legend *legend);
59 virtual void DatasetChanged(
Dataset *dataset);
71 float m_ellipticAspect;
82 wxCoord m_legendPlotGap;
Dataset for data values in form [category name, value].
Base class for all plots.
DC that includes a flag to indicate antialiased drawing should be used where appropriate.
Defines set of colors for use by PiePlots, etc...
virtual bool HasData()=0
Checks whether plot has data.
Base class for all datasets (XYDatasets, XYZDatasets, CategoryDatasets, OHLCDatasets, etc).
virtual void DrawBackground(ChartDC &cdc, wxRect rc)
Draw the plot's static items (e.g.
virtual void DrawData(ChartDC &cdc, wxRect rc)=0
Draw the plot data, i.e.