Version: 0.6.0
RangeMarker Class Reference

#include <marker.h>

Inheritance diagram for RangeMarker:
Collaboration diagram for RangeMarker:

Public Member Functions

 RangeMarker (AreaDraw *rangeAreaDraw)
 
virtual void Draw (wxDC &dc, wxRect rcData, Axis *horizAxis, Axis *vertAxis)
 
void SetVerticalRange (double minValue, double maxValue)
 
void SetHorizontalRange (double minValue, double maxValue)
 
void SetRange (double minValue, double maxValue, bool horizontal)
 
void SetRangeAreaDraw (AreaDraw *rangeAreaDraw)
 
- Public Member Functions inherited from Observable< DrawObserver >
void AddObserver (DrawObserver *_observer)
 
void RemoveObserver (DrawObserver *_observer)
 

Additional Inherited Members

- Public Types inherited from Observable< DrawObserver >
typedef DrawObserver Observer
 
- Public Attributes inherited from Observable< DrawObserver >
std::vector< DrawObserver * >
::iterator 
OIt
 
- Protected Member Functions inherited from DrawObject
 FIRE_WITH_THIS (NeedRedraw)
 
- Protected Attributes inherited from Observable< DrawObserver >
std::vector< DrawObserver * > observers
 

Detailed Description

Marker that marks range of data.

Member Function Documentation

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.

Here is the call graph for this function:

void RangeMarker::SetHorizontalRange ( double  minValue,
double  maxValue 
)

Sets horizontal range.

Parameters
minValuerange minimal value
maxValuerange maximal value

Here is the call graph for this function:

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

Here is the caller graph for this function:

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

Here is the call graph for this function:


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