00001 00002 // Name: ganttplot.h 00003 // Purpose: gantt plot declaration 00004 // Author: Moskvichev Andrey V. 00005 // Created: 2009/03/23 00006 // Copyright: (c) 2008-2010 Moskvichev Andrey V. 00007 // Licence: wxWidgets licence 00009 00010 00011 #ifndef GANTTPLOT_H_ 00012 #define GANTTPLOT_H_ 00013 00014 #include <wx/axisplot.h> 00015 00019 class WXDLLIMPEXP_FREECHART GanttPlot : public AxisPlot 00020 { 00021 public: 00022 GanttPlot(); 00023 virtual ~GanttPlot(); 00024 00025 protected: 00026 virtual bool AcceptAxis(Axis *axis); 00027 00028 virtual bool AcceptDataset(Dataset *dataset); 00029 00030 virtual void DrawDatasets(wxDC &dc, wxRect rc); 00031 }; 00032 00033 #endif /* GANTTPLOT_H_ */