wxFreeChart
|
OHLC renderer for displaying bars. More...
#include <ohlcbarrenderer.h>
Public Member Functions | |
virtual void | DrawItem (wxDC &dc, wxCoord x, wxCoord open, wxCoord high, wxCoord low, wxCoord close) |
Draws item. More... | |
void | SetBarPen (wxPen barPen) |
Sets pen to draw bars. More... | |
const wxPen & | GetBarPen () |
Return pen to draw bars. More... | |
Public Member Functions inherited from OHLCRenderer | |
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 () |
Additional Inherited Members | |
Protected Attributes inherited from OHLCRenderer | |
OHLCColourer * | m_colourer |
OHLC renderer for displaying bars.
Definition at line 18 of file ohlcbarrenderer.h.
|
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 |
Implements OHLCRenderer.
|
inline |
|
inline |
Sets pen to draw bars.
barPen | pen to draw bars |
Definition at line 30 of file ohlcbarrenderer.h.