#include <marker.h>
Marker that marks range of data.
void RangeMarker::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 RangeMarker::SetHorizontalRange |
( |
double |
minValue, |
|
|
double |
maxValue |
|
) |
| |
Sets horizontal range.
- Parameters
-
minValue | range minimal value |
maxValue | range maximal value |
void RangeMarker::SetRange |
( |
double |
minValue, |
|
|
double |
maxValue, |
|
|
bool |
horizontal |
|
) |
| |
Sets range.
- Parameters
-
minValue | range minimal value |
maxValue | range maximal value |
horizontal | true to mark horizontal range, false to mark vertical |
void RangeMarker::SetRangeAreaDraw |
( |
AreaDraw * |
rangeAreaDraw | ) |
|
Sets area draw object to draw marked range.
- Parameters
-
rangeArea | new range area draw |
void RangeMarker::SetVerticalRange |
( |
double |
minValue, |
|
|
double |
maxValue |
|
) |
| |
Sets vertical range.
- Parameters
-
minValue | range minimal value |
maxValue | range maximal value |
The documentation for this class was generated from the following files:
- /home/bishop/work/projects/nextgismanager/include/freechart/wx/marker.h
- /home/bishop/work/projects/nextgismanager/src/freechart/marker.cpp