wxFreeChart
ganttplot.h
1 // Name: ganttplot.h
3 // Purpose: gantt plot declaration
4 // Author: Moskvichev Andrey V.
5 // Created: 2009/03/23
6 // Copyright: (c) 2008-2010 Moskvichev Andrey V.
7 // Licence: wxWidgets licence
9 
10 
11 #ifndef GANTTPLOT_H_
12 #define GANTTPLOT_H_
13 
14 #include <wx/axisplot.h>
15 
19 class WXDLLIMPEXP_FREECHART GanttPlot : public AxisPlot
20 {
21 public:
22  GanttPlot();
23  virtual ~GanttPlot();
24 
25 protected:
26  virtual bool AcceptAxis(Axis *axis);
27 
28  virtual bool AcceptDataset(Dataset *dataset);
29 
30  virtual void DrawDatasets(wxDC &dc, wxRect rc);
31 };
32 
33 #endif /* GANTTPLOT_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
Plot to draw gantt charts.
Definition: ganttplot.h:19
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.