wxFreeChart
bubbleplot.h
1 // Name: bubbleplot.h
3 // Purpose: bubble plot declarations
4 // Author: Moskvichev Andrey V.
5 // Created: 2008/11/07
6 // Copyright: (c) 2008-2010 Moskvichev Andrey V.
7 // Licence: wxWidgets licence
9 
10 #ifndef BUBBLEPLOT_H_
11 #define BUBBLEPLOT_H_
12 
13 #include <wx/axisplot.h>
14 
18 class WXDLLIMPEXP_FREECHART BubblePlot : public AxisPlot
19 {
20 public:
21  BubblePlot();
22  virtual ~BubblePlot();
23 
24 protected:
25  virtual bool AcceptAxis(Axis *axis);
26 
27  virtual bool AcceptDataset(Dataset *dataset);
28 
29  virtual void DrawDatasets(wxDC &dc, wxRect rc);
30 };
31 
32 #endif /*BUBBLEPLOT_H_*/
virtual bool AcceptDataset(Dataset *dataset)=0
Checks whether dataset is acceptable with this plot.
virtual void DrawDatasets(wxDC &dc, wxRect rc)=0
Called to draw all datasets.
Base class for all axes.
Definition: axis.h:39
Used to draw bubble charts.
Definition: bubbleplot.h:18
Base class for all datasets (XYDatasets, XYZDatasets, CategoryDatasets, OHLCDatasets, etc).
Definition: dataset.h:39
Base class for plots that supports axes.
Definition: axisplot.h:56
virtual bool AcceptAxis(Axis *axis)=0
Checks whether axis is acceptable with this plot.