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

Marker that marks range of data. More...

#include <marker.h>

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

Public Member Functions

 RangeMarker (AreaDraw *rangeAreaDraw)
 
virtual void Draw (wxDC &dc, wxRect rcData, Axis *horizAxis, Axis *vertAxis)
 Performs marker drawing. More...
 
void SetVerticalRange (double minValue, double maxValue)
 Sets vertical range. More...
 
void SetHorizontalRange (double minValue, double maxValue)
 Sets horizontal range. More...
 
void SetRange (double minValue, double maxValue, bool horizontal)
 Sets range. More...
 
void SetRangeAreaDraw (AreaDraw *rangeAreaDraw)
 Sets area draw object to draw marked range. More...
 

Detailed Description

Marker that marks range of data.

Definition at line 112 of file marker.h.

Member Function Documentation

virtual void RangeMarker::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 RangeMarker::SetHorizontalRange ( double  minValue,
double  maxValue 
)

Sets horizontal range.

Parameters
minValuerange minimal value
maxValuerange maximal value
void RangeMarker::SetRange ( double  minValue,
double  maxValue,
bool  horizontal 
)

Sets range.

Parameters
minValuerange minimal value
maxValuerange maximal value
horizontaltrue to mark horizontal range, false to mark vertical
void RangeMarker::SetRangeAreaDraw ( AreaDraw rangeAreaDraw)

Sets area draw object to draw marked range.

Parameters
rangeAreanew range area draw
void RangeMarker::SetVerticalRange ( double  minValue,
double  maxValue 
)

Sets vertical range.

Parameters
minValuerange minimal value
maxValuerange maximal value

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