wxFreeChart
Public Member Functions | List of all members
LineMarker Class Reference

Marker that marks single value, and drawn as line. More...

#include <marker.h>

Inheritance diagram for LineMarker:
Inheritance graph
[legend]
Collaboration diagram for LineMarker:
Collaboration graph
[legend]

Public Member Functions

 LineMarker (wxPen linePen)
 
 LineMarker (wxColour lineColour, int lineWidth=1)
 
virtual void Draw (wxDC &dc, wxRect rcData, Axis *horizAxis, Axis *vertAxis)
 Performs marker drawing. More...
 
void SetVerticalLine (double value)
 Sets vertical line value. More...
 
void SetHorizontalLine (double value)
 Sets horizontal line value. More...
 
void SetValue (double value, bool horizontal)
 Sets line value. More...
 

Detailed Description

Marker that marks single value, and drawn as line.

Definition at line 71 of file marker.h.

Member Function Documentation

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

Performs marker drawing.

Parameters
dcdevice context
rcDatadata area rectangle
horizAxishorizontal axis
vertAxisvertical axis

Implements Marker.

void LineMarker::SetHorizontalLine ( double  value)

Sets horizontal line value.

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

Sets line value.

Parameters
valuemark value
horizontaltrue to mark horizontal line, false to mark vertical
void LineMarker::SetVerticalLine ( double  value)

Sets vertical line value.

Parameters
valuemark value

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