#include <ohlccandlestickrenderer.h>
Public Member Functions | |
virtual void | DrawItem (wxDC &dc, wxCoord x, wxCoord open, wxCoord high, wxCoord low, wxCoord close) |
void | SetOutlinePen (wxPen outlinePen) |
const wxPen & | GetOutlinePen () |
void | SetLowerBrush (wxBrush lowerBrush) |
const wxBrush & | GetLowerBrush () |
void | SetHigherBrush (wxBrush higherBrush) |
const wxBrush & | GetHigherBrush () |
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) |
virtual wxColour | GetSerieColour (size_t serie) |
virtual void | SetSerieSymbol (size_t serie, Symbol *symbol) |
virtual Symbol * | GetSerieSymbol (size_t serie) |
virtual void | DrawLegendSymbol (wxDC &dc, wxRect rcSymbol, size_t serie) |
Public Member Functions inherited from Observable< DrawObserver > | |
void | AddObserver (DrawObserver *_observer) |
void | RemoveObserver (DrawObserver *_observer) |
Public Member Functions inherited from RefObject | |
void | AddRef () |
void | Unref () |
int | RefCount () |
Additional Inherited Members | |
Public Types inherited from Observable< DrawObserver > | |
typedef DrawObserver | Observer |
Public Attributes inherited from Observable< DrawObserver > | |
std::vector< DrawObserver * > ::iterator | OIt |
Protected Member Functions inherited from DrawObject | |
FIRE_WITH_THIS (NeedRedraw) | |
Protected Attributes inherited from OHLCRenderer | |
OHLCColourer * | m_colourer |
Protected Attributes inherited from Observable< DrawObserver > | |
std::vector< DrawObserver * > | observers |
OHLC renderer for displaying japanese candles.
|
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 |
Return brush to draw higher (bull) candles.
|
inline |
Returns brush to draw lower (bear) candles.
|
inline |
Returns pen to draw candle outline.
|
inline |
Sets brush to draw higher (bull) candles.
higherBrush | brush to draw higher (bear) candles |
|
inline |
Sets brush to draw lower (bear) candles.
lowerBrush | brush to draw lower (bear) candles |
|
inline |
Sets pen to draw candle outline.
outlinePen | pen to draw candle outline |