10 #ifndef XYLINERENDERER_H_
11 #define XYLINERENDERER_H_
13 #include <wx/xy/xyrenderer.h>
20 XYLineRendererBase(
bool drawSymbols,
bool drawLines,
int defaultWidth = 1,
int defaultStyle = wxSOLID);
42 void SetSeriePen(
size_t serie, wxPen *pen);
49 wxPen *GetSeriePen(
size_t serie);
59 virtual void DrawLines(wxDC &dc, wxRect rc,
Axis *horizAxis,
Axis *vertAxis,
XYDataset *dataset) = 0;
60 virtual void DrawSymbols(wxDC &dc, wxRect rc,
Axis *horizAxis,
Axis *vertAxis,
XYDataset *dataset);
68 int m_defaultPenWidth;
69 int m_defaultPenStyle;
86 XYLineRenderer(
bool drawSymbols =
false,
bool drawLines =
true,
int defaultWidth = 1,
int defaultStyle = wxSOLID);
91 virtual void DrawLines(wxDC &dc, wxRect rc,
Axis *horizAxis,
Axis *vertAxis,
XYDataset *dataset);
108 virtual void DrawLines(wxDC &dc, wxRect rc,
Axis *horizAxis,
Axis *vertAxis,
XYDataset *dataset);
111 size_t GetFirstVisibleIndex(
Axis *horizAxis,
Axis *vertAxis,
XYDataset *dataset,
size_t serie);
Definition: xylinerenderer.h:99
Definition: xylinerenderer.h:75
virtual void SetSerieColour(size_t serie, wxColour *color)
Definition: renderer.cpp:22
Definition: xylinerenderer.h:16
virtual wxColour GetSerieColour(size_t serie)
Definition: renderer.cpp:28
virtual void DrawLegendSymbol(wxDC &dc, wxRect rcSymbol, size_t serie)
Definition: renderer.cpp:50
virtual void Draw(wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset)=0
Definition: xydataset.h:21
Definition: xyrenderer.h:20