10 #ifndef COLORSCHEME_H_ 11 #define COLORSCHEME_H_ 13 #include <wx/wxfreechartdefs.h> 14 #include <wx/dynarray.h> 16 WX_DECLARE_USER_EXPORTED_OBJARRAY(wxColour, wxColourArray, WXDLLIMPEXP_FREECHART);
35 m_colours = cs.m_colours;
44 m_colours.Add(colour);
53 return m_colours.GetCount();
63 return m_colours[index];
67 wxColourArray m_colours;
size_t GetCount()
Returns color count in this color scheme.
void AddColour(wxColour colour)
Add colour to color scheme.
Defines set of colors for use by PiePlots, etc...
wxColour GetColor(size_t index)
Returns color at specified index.