wxFreeChart
|
Base class for rendering OHLC data. More...
#include <ohlcrenderer.h>
Public Member Functions | |
virtual void | DrawItem (wxDC &dc, wxCoord x, wxCoord open, wxCoord high, wxCoord low, wxCoord close)=0 |
Draws item. More... | |
void | SetColourer (OHLCColourer *colourer) |
OHLCColourer * | GetColourer () |
Public Member Functions inherited from Renderer | |
virtual void | SetSerieColour (size_t serie, wxColour *color) |
Sets color for serie. More... | |
virtual wxColour | GetSerieColour (size_t serie) |
Returns serie color. More... | |
virtual void | SetSerieSymbol (size_t serie, Symbol *symbol) |
Sets symbol for serie. More... | |
virtual Symbol * | GetSerieSymbol (size_t serie) |
returns symbol for serie. More... | |
virtual void | DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, size_t serie) |
Draws legend symbol. More... | |
Public Member Functions inherited from RefObject | |
void | AddRef () |
void | Unref () |
int | RefCount () |
Protected Attributes | |
OHLCColourer * | m_colourer |
Base class for rendering OHLC data.
Definition at line 30 of file ohlcrenderer.h.
|
pure virtual |
Draws item.
dc | device context |
x | coordinate |
open | open value in graphical coordinates |
high | high value in graphical coordinates |
low | low value in graphical coordinates |
close | close value in graphical coordinates |
Implemented in OHLCBarRenderer, and OHLCCandlestickRenderer.