10 #ifndef VECTORDATASET_H_ 11 #define VECTORDATASET_H_ 13 #include <wx/xy/xydataset.h> 14 #include <wx/dynarray.h> 16 WX_DECLARE_USER_EXPORTED_OBJARRAY(
double, wxDoubleArray, WXDLLIMPEXP_FREECHART);
36 virtual size_t GetCount(
size_t serie);
40 virtual double GetX(
size_t index,
size_t serie);
42 virtual double GetY(
size_t index,
size_t serie);
55 void Replace(
size_t index,
double y);
61 void RemoveAt(
size_t index);
69 wxDoubleArray m_values;
virtual size_t GetSerieCount()=0
Returns serie count in this dataset.
virtual double GetX(size_t index, size_t serie)=0
Returns x value at index.
virtual double GetY(size_t index, size_t serie)=0
Returns y value at index.
virtual size_t GetCount(size_t serie)=0
Returns value count in serie specified by index.
Base class for XY datasets.
Vector implementation of XYDataset.
virtual wxString GetSerieName(size_t serie)=0
Returns serie name.