|
void | AddAxis (Axis *axis) |
| Adds axis to plot. More...
|
|
void | AddDataset (Dataset *dataset) |
| Adds dataset to plot. More...
|
|
void | RemoveDataset (Dataset *dataset) |
| Removes dataset from plot. More...
|
|
void | RemoveDataset (size_t index) |
| Removes dataset from plot. More...
|
|
void | AddObjects (Dataset *dataset, Axis *verticalAxis, Axis *horizontalAxis) |
| Adds dataset and vertical and horizontal axes to plot. More...
|
|
size_t | GetDatasetCount () |
| Returns dataset count. More...
|
|
Dataset * | GetDataset (size_t index) |
| Return dataset with index. More...
|
|
void | LinkDataHorizontalAxis (size_t nData, size_t nAxis) |
| Links dataset with horizontal axis. More...
|
|
void | LinkDataVerticalAxis (size_t nData, size_t nAxis) |
| Links dataset with vertical axis. More...
|
|
Axis * | GetDatasetAxis (Dataset *dataset, size_t index, bool vertical) |
| Returns dataset axis. More...
|
|
Axis * | GetDatasetAxis (Dataset *dataset, bool vertical) |
| Returns main dataset axis. More...
|
|
Axis * | GetDatasetVerticalAxis (Dataset *dataset) |
| Returns main vertical dataset axis. More...
|
|
Axis * | GetDatasetHorizontalAxis (Dataset *dataset) |
| Returns main horizontal dataset axis. More...
|
|
Dataset * | GetAxisDataset (Axis *axis, size_t index) |
| Returns dataset, linked with axis at specified index. More...
|
|
void | SetDrawGrid (bool drawGridVertical, bool drawGridHorizontal) |
| Set whether to draw grid lines. More...
|
|
| wxDEPRECATED_MSG ("SetDataBackground is deprecated, use SetBackground instead") void SetDataBackground(AreaDraw *dataBackground) |
| Sets background for data area. More...
|
|
void | SetLegend (Legend *legend) |
| Sets legend to plot. More...
|
|
void | SetCrosshair (Crosshair *crosshair) |
| Attaches crosshair to this plot. More...
|
|
bool | ToDataCoords (size_t nData, wxDC &dc, wxRect rc, wxCoord gx, wxCoord gy, double *x, double *y) |
| Translate coordinate from graphics to data space. More...
|
|
virtual void | NeedRedraw (DrawObject *obj) |
|
virtual void | DataChanged (wxCommandEvent &event) |
|
virtual void | DatasetChanged (Dataset *dataset) |
|
virtual void | AxisChanged (Axis *axis) |
|
virtual void | BoundsChanged (Axis *axis) |
|
virtual void | ChartMouseDown (wxPoint &pt, int key) |
|
virtual void | Draw (ChartDC &cdc, wxRect rc, PlotDrawMode mode=PLOT_DRAW_ALL) |
| Draws plot. More...
|
|
virtual void | DrawNoDataMessage (wxDC &dc, wxRect rc) |
| Draws "no data" message. More...
|
|
void | SetChartPanel (wxChartPanel *chartPanel) |
|
wxChartPanel * | GetChartPanel () |
| Returns chart panel (GUI component, at top level) if it.
|
|
void | SetBackground (AreaDraw *background) |
| Sets plot background. More...
|
|
void | SetTextNoData (const wxString &textNoData) |
| Sets text message drawn, when plot has no data to draw. More...
|
|
bool | m_drawGridVertical |
|
bool | m_drawGridHorizontal |
|
AreaDraw * | m_background |
|
Open-High-Low-Close plot.
TODO:
- technical indicators support
- grapical objects support, like levels, fibo-retracements, fractals, etc.
Definition at line 23 of file ohlcplot.h.