OHLCCandlestickRenderer Class Reference
#include <ohlccandlestickrenderer.h>
List of all members.
Detailed Description
OHLC renderer for displaying japanese candles.
Member Function Documentation
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
const wxBrush& OHLCCandlestickRenderer::GetLowerBrush |
( |
|
) |
[inline] |
Returns brush to draw lower (bear) candles.
- Returns:
- brush to draw lower (bear) candles
const wxPen& OHLCCandlestickRenderer::GetOutlinePen |
( |
|
) |
[inline] |
Returns pen to draw candle outline.
- Returns:
- outlinePen pen to draw candle outline
void OHLCCandlestickRenderer::SetHigherBrush |
( |
wxBrush |
higherBrush |
) |
[inline] |
Sets brush to draw higher (bull) candles.
- Parameters:
-
| higherBrush | brush to draw higher (bear) candles |
void OHLCCandlestickRenderer::SetLowerBrush |
( |
wxBrush |
lowerBrush |
) |
[inline] |
Sets brush to draw lower (bear) candles.
- Parameters:
-
| lowerBrush | brush to draw lower (bear) candles |
void OHLCCandlestickRenderer::SetOutlinePen |
( |
wxPen |
outlinePen |
) |
[inline] |
Sets pen to draw candle outline.
- Parameters:
-
| outlinePen | pen to draw candle outline |
The documentation for this class was generated from the following file: