00001
00002
00003
00004
00005
00006
00007
00009
00010 #ifndef XYPLOT_H_
00011 #define XYPLOT_H_
00012
00013 #include <wx/axisplot.h>
00014 #include <wx/axis/numberaxis.h>
00015
00016 #include <wx/xy/xydataset.h>
00017 #include <wx/xy/xyrenderer.h>
00018
00022 class WXDLLIMPEXP_FREECHART XYPlot : public AxisPlot
00023 {
00024 public:
00025 XYPlot();
00026 virtual ~XYPlot();
00027
00028 protected:
00029
00030
00031
00032 virtual bool AcceptAxis(Axis *axis);
00033
00034 virtual bool AcceptDataset(Dataset *dataset);
00035
00036 virtual void DrawDatasets(wxDC &dc, wxRect rc);
00037
00044 void DrawXYDataset(wxDC &dc, wxRect rc, XYDataset *dataset);
00045 };
00046
00047 #endif