00001
00002
00003
00004
00005
00006
00007
00009
00010 #ifndef OHLCPLOT_H_
00011 #define OHLCPLOT_H_
00012
00013 #include <wx/xy/xyplot.h>
00014 #include <wx/ohlc/ohlcdataset.h>
00015
00023 class WXDLLIMPEXP_FREECHART OHLCPlot : public XYPlot
00024 {
00025 public:
00026 OHLCPlot();
00027 virtual ~OHLCPlot();
00028
00029 protected:
00030 virtual bool AcceptAxis(Axis *axis);
00031
00032 virtual bool AcceptDataset(Dataset *dataset);
00033
00034 virtual void DrawDatasets(wxDC &dc, wxRect rc);
00035
00042 virtual void DrawOHLCDataset(wxDC &dc, wxRect rc, OHLCDataset *dataset);
00043 };
00044
00045 #endif