10 #ifndef OHLCCANDDLESTICKRENDERER_H_ 11 #define OHLCCANDDLESTICKRENDERER_H_ 13 #include <wx/ohlc/ohlcrenderer.h> 24 virtual void DrawItem(wxDC &dc, wxCoord x, wxCoord open, wxCoord high, wxCoord low, wxCoord close);
32 m_outlinePen = outlinePen;
50 m_lowerBrush = lowerBrush;
68 m_higherBrush = higherBrush;
81 wxCoord m_candleRadius;
85 wxBrush m_higherBrush;
const wxBrush & GetLowerBrush()
Returns brush to draw lower (bear) candles.
const wxBrush & GetHigherBrush()
Return brush to draw higher (bull) candles.
virtual void DrawItem(wxDC &dc, wxCoord x, wxCoord open, wxCoord high, wxCoord low, wxCoord close)=0
Draws item.
void SetHigherBrush(wxBrush higherBrush)
Sets brush to draw higher (bull) candles.
void SetOutlinePen(wxPen outlinePen)
Sets pen to draw candle outline.
const wxPen & GetOutlinePen()
Returns pen to draw candle outline.
OHLC renderer for displaying japanese candles.
void SetLowerBrush(wxBrush lowerBrush)
Sets brush to draw lower (bear) candles.
Base class for rendering OHLC data.