OHLCBarRenderer Class Reference

#include <ohlcbarrenderer.h>

Inheritance diagram for OHLCBarRenderer:

Inheritance graph
[legend]
Collaboration diagram for OHLCBarRenderer:

Collaboration graph
[legend]

List of all members.

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 ()


Detailed Description

OHLC renderer for displaying bars.

Member Function Documentation

virtual void OHLCBarRenderer::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 wxPen& OHLCBarRenderer::GetBarPen (  )  [inline]

Return pen to draw bars.

Returns:
pen to draw bars

void OHLCBarRenderer::SetBarPen ( wxPen  barPen  )  [inline]

Sets pen to draw bars.

Parameters:
barPen pen to draw bars


The documentation for this class was generated from the following file:

Generated on Mon Feb 15 21:32:27 2010 for wxFreeChart by  doxygen 1.5.8