Version: 0.6.0
ohlcplot.h
1 // Name: ohlcplot.h
3 // Purpose: OHLC plot declaration.
4 // Author: Moskvichev Andrey V.
5 // Created: 2008/11/07
6 // Copyright: (c) 2008-2010 Moskvichev Andrey V.
7 // Licence: wxWidgets licence
9 
10 #ifndef OHLCPLOT_H_
11 #define OHLCPLOT_H_
12 
13 #include <wx/xy/xyplot.h>
14 #include <wx/ohlc/ohlcdataset.h>
15 
23 class WXDLLIMPEXP_FREECHART OHLCPlot : public XYPlot
24 {
25 public:
26  OHLCPlot();
27  virtual ~OHLCPlot();
28 
29 protected:
30  virtual bool AcceptAxis(Axis *axis);
31 
32  virtual bool AcceptDataset(Dataset *dataset);
33 
34  virtual void DrawDatasets(wxDC &dc, wxRect rc);
35 
42  virtual void DrawOHLCDataset(wxDC &dc, wxRect rc, OHLCDataset *dataset);
43 };
44 
45 #endif /*OHLCPLOT_H_*/
virtual void DrawDatasets(wxDC &dc, wxRect rc)
Definition: xyplot.cpp:30
Definition: ohlcplot.h:23
Definition: axis.h:62
virtual bool AcceptAxis(Axis *axis)
Definition: xyplot.cpp:20
virtual bool AcceptDataset(Dataset *dataset)
Definition: xyplot.cpp:25
Definition: ohlcdataset.h:31
Definition: xyplot.h:22
Definition: dataset.h:50