Version: 0.6.0
xyplot.h
1 // Name: xyplot.h
3 // Purpose: XY plot declaration
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 XYPLOT_H_
11 #define XYPLOT_H_
12 
13 #include <wx/axisplot.h>
14 #include <wx/axis/numberaxis.h>
15 
16 #include <wx/xy/xydataset.h>
17 #include <wx/xy/xyrenderer.h>
18 
22 class WXDLLIMPEXP_FREECHART XYPlot : public AxisPlot
23 {
24 public:
25  XYPlot();
26  virtual ~XYPlot();
27 
28 protected:
29  //
30  // AxisPlot
31  //
32  virtual bool AcceptAxis(Axis *axis);
33 
34  virtual bool AcceptDataset(Dataset *dataset);
35 
36  virtual void DrawDatasets(wxDC &dc, wxRect rc);
37 
44  void DrawXYDataset(wxDC &dc, wxRect rc, XYDataset *dataset);
45 };
46 
47 #endif /*XYPLOT_H_*/
virtual void DrawDatasets(wxDC &dc, wxRect rc)=0
virtual bool AcceptDataset(Dataset *dataset)=0
Definition: axisplot.h:56
Definition: axis.h:62
virtual bool AcceptAxis(Axis *axis)=0
Definition: xyplot.h:22
Definition: dataset.h:50
Definition: xydataset.h:21