13 #include <wx/wxfreechartdefs.h> 14 #include <wx/drawobject.h> 15 #include <wx/areadraw.h> 17 #include <wx/dynarray.h> 37 virtual void Draw(wxDC &dc, wxRect rcData,
Axis *horizAxis,
Axis *vertAxis) = 0;
40 WX_DECLARE_USER_EXPORTED_OBJARRAY(
Marker *, MarkerArray, WXDLLIMPEXP_FREECHART);
47 class WXDLLIMPEXP_FREECHART PointMarker :
public Marker 51 virtual ~PointMarker();
53 virtual void Draw(wxDC &dc, wxRect rcData,
Axis *horizAxis,
Axis *vertAxis);
55 void SetText(
const wxString &text)
63 wxColour m_textColour;
76 LineMarker(wxColour lineColour,
int lineWidth = 1);
80 virtual void Draw(wxDC &dc, wxRect rcData,
Axis *horizAxis,
Axis *vertAxis);
86 void SetVerticalLine(
double value);
92 void SetHorizontalLine(
double value);
99 void SetValue(
double value,
bool horizontal);
118 virtual void Draw(wxDC &dc, wxRect rcData,
Axis *horizAxis,
Axis *vertAxis);
125 void SetVerticalRange(
double minValue,
double maxValue);
132 void SetHorizontalRange(
double minValue,
double maxValue);
140 void SetRange(
double minValue,
double maxValue,
bool horizontal);
146 void SetRangeAreaDraw(
AreaDraw *rangeAreaDraw);
Marker that marks single value, and drawn as line.
Base class for objects drawn on chart or perform drawing of another objects (like renderers...
Base class for drawing area background.
Marker that marks range of data.
virtual void Draw(wxDC &dc, wxRect rcData, Axis *horizAxis, Axis *vertAxis)=0
Performs marker drawing.