#include <ohlcbarrenderer.h>
Public Member Functions | |
virtual void | DrawItem (wxDC &dc, wxCoord x, wxCoord open, wxCoord high, wxCoord low, wxCoord close) |
void | SetBarPen (wxPen barPen) |
const wxPen & | GetBarPen () |
virtual void OHLCBarRenderer::DrawItem | ( | wxDC & | dc, | |
wxCoord | x, | |||
wxCoord | open, | |||
wxCoord | high, | |||
wxCoord | low, | |||
wxCoord | close | |||
) | [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.
const wxPen& OHLCBarRenderer::GetBarPen | ( | ) | [inline] |
Return pen to draw bars.
void OHLCBarRenderer::SetBarPen | ( | wxPen | barPen | ) | [inline] |
Sets pen to draw bars.
barPen | pen to draw bars |