00001
00002
00003
00004
00005
00006
00007
00008
00010
00011 #ifndef CHARTSPLITPANEL_H_
00012 #define CHARTSPLITPANEL_H_
00013
00014 #include <wx/aui/aui.h>
00015
00016 #include "wx/wxfreechartdefs.h"
00017 #include "wx/plot.h"
00018 #include "wx/multiplot.h"
00019
00024 class WXDLLIMPEXP_FREECHART wxChartSplitPanel : public wxPanel
00025 {
00026 public:
00027 wxChartSplitPanel(wxWindow *parent, wxWindowID id = wxID_ANY,
00028 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize);
00029 virtual ~wxChartSplitPanel();
00030
00031 void AddPlot(Plot *plot, int pos, bool allowRemove);
00032 void RemovePlot(Plot *plot);
00033 void RemovePlot(size_t nPlot);
00034
00035 void RemoveAllPlots();
00036
00037 Plot *GetPlot(size_t index);
00038
00039 private:
00040 wxAuiManager *m_auiManager;
00041
00042 PlotArray m_plots;
00043 };
00044
00045 #endif
00046