OHLC renderer for displaying japanese candles.
More...
#include <ohlccandlestickrenderer.h>
OHLC renderer for displaying japanese candles.
Definition at line 18 of file ohlccandlestickrenderer.h.
virtual void OHLCCandlestickRenderer::DrawItem |
( |
wxDC & |
dc, |
|
|
wxCoord |
x, |
|
|
wxCoord |
open, |
|
|
wxCoord |
high, |
|
|
wxCoord |
low, |
|
|
wxCoord |
close |
|
) |
| |
|
virtual |
Draws item.
- Parameters
-
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.
const wxBrush& OHLCCandlestickRenderer::GetHigherBrush |
( |
| ) |
|
|
inline |
Return brush to draw higher (bull) candles.
- Returns
- brush to draw higher (bear) candles
Definition at line 75 of file ohlccandlestickrenderer.h.
const wxBrush& OHLCCandlestickRenderer::GetLowerBrush |
( |
| ) |
|
|
inline |
Returns brush to draw lower (bear) candles.
- Returns
- brush to draw lower (bear) candles
Definition at line 57 of file ohlccandlestickrenderer.h.
const wxPen& OHLCCandlestickRenderer::GetOutlinePen |
( |
| ) |
|
|
inline |
Returns pen to draw candle outline.
- Returns
- outlinePen pen to draw candle outline
Definition at line 39 of file ohlccandlestickrenderer.h.
void OHLCCandlestickRenderer::SetHigherBrush |
( |
wxBrush |
higherBrush | ) |
|
|
inline |
Sets brush to draw higher (bull) candles.
- Parameters
-
higherBrush | brush to draw higher (bear) candles |
Definition at line 66 of file ohlccandlestickrenderer.h.
void OHLCCandlestickRenderer::SetLowerBrush |
( |
wxBrush |
lowerBrush | ) |
|
|
inline |
Sets brush to draw lower (bear) candles.
- Parameters
-
lowerBrush | brush to draw lower (bear) candles |
Definition at line 48 of file ohlccandlestickrenderer.h.
void OHLCCandlestickRenderer::SetOutlinePen |
( |
wxPen |
outlinePen | ) |
|
|
inline |
Sets pen to draw candle outline.
- Parameters
-
outlinePen | pen to draw candle outline |
Definition at line 30 of file ohlccandlestickrenderer.h.
The documentation for this class was generated from the following file: