LineMarker Class Reference

#include <marker.h>

Inheritance diagram for LineMarker:

Inheritance graph
[legend]
Collaboration diagram for LineMarker:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LineMarker (wxPen linePen)
virtual void Draw (wxDC &dc, wxRect rcData, Axis *horizAxis, Axis *vertAxis)
void SetVerticalLine (double value)
void SetHorizontalLine (double value)
void SetValue (double value, bool horizontal)


Detailed Description

Marker that marks single value, and drawn as line.

Member Function Documentation

virtual void LineMarker::Draw ( wxDC &  dc,
wxRect  rcData,
Axis horizAxis,
Axis vertAxis 
) [virtual]

Performs marker drawing.

Parameters:
dc device context
rcData data area rectangle
horizAxis horizontal axis
vertAxis vertical axis

Implements Marker.

void LineMarker::SetHorizontalLine ( double  value  ) 

Sets horizontal line value.

Parameters:
value mark value

void LineMarker::SetValue ( double  value,
bool  horizontal 
)

Sets line value.

Parameters:
value mark value
horizontal true to mark horizontal line, false to mark vertical

void LineMarker::SetVerticalLine ( double  value  ) 

Sets vertical line value.

Parameters:
value mark value


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

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