OHLCCandlestickRenderer Class Reference

#include <ohlccandlestickrenderer.h>

Inheritance diagram for OHLCCandlestickRenderer:

Inheritance graph
[legend]
Collaboration diagram for OHLCCandlestickRenderer:

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 SetOutlinePen (wxPen outlinePen)
const wxPen & GetOutlinePen ()
void SetLowerBrush (wxBrush lowerBrush)
const wxBrush & GetLowerBrush ()
void SetHigherBrush (wxBrush higherBrush)
const wxBrush & GetHigherBrush ()


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:

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