Version: 0.6.0
LineMarker Class Reference

#include <marker.h>

Inheritance diagram for LineMarker:
Collaboration diagram for LineMarker:

Public Member Functions

 LineMarker (wxPen linePen)
 
 LineMarker (wxColour lineColour, int lineWidth=1)
 
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)
 
- 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 single value, and drawn as line.

Member Function Documentation

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.

Here is the call graph for this function:

void LineMarker::SetHorizontalLine ( double  value)

Sets horizontal line value.

Parameters
valuemark value

Here is the call graph for this function:

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

Sets line value.

Parameters
valuemark value
horizontaltrue to mark horizontal line, false to mark vertical

Here is the caller graph for this function:

void LineMarker::SetVerticalLine ( double  value)

Sets vertical line value.

Parameters
valuemark 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