wxFreeChart
categoryrenderer.h
1 // Name: categoryrenderer.h
3 // Purpose: Category renderer declarations
4 // Author: Grgory Soutad
5 // Created: 2010/05/24
6 // Copyright: (c) 2010 Grgory Soutad
7 // Licence: wxWidgets licence
9 
10 #ifndef CATEGORYRENDERER_H_
11 #define CATEGORYRENDERER_H_
12 
13 #include <wx/chartrenderer.h>
14 #include <wx/colorscheme.h>
15 
16 class WXDLLIMPEXP_FREECHART CategoryRenderer : public Renderer
17 {
18  DECLARE_CLASS(CategoryRenderer)
19 public:
20  CategoryRenderer(ColorScheme& colorScheme);
21  virtual ~CategoryRenderer();
22 
23  void DrawLegendSymbol(wxDC &dc, wxRect rcSymbol, size_t serie);
24 
25 private:
26  ColorScheme m_colorScheme;
27 };
28 
29 #endif /*CATEGORYRENDERER_H_*/
Base class for all renderers.
Definition: chartrenderer.h:21
Defines set of colors for use by PiePlots, etc...
Definition: colorscheme.h:21
virtual void DrawLegendSymbol(wxDC &dc, wxRect rcSymbol, size_t serie)
Draws legend symbol.