9 #ifndef TIMESERIESDATA_H 10 #define TIMESERIESDATA_H 16 #include <wx/dataset.h> 17 #include <wx/xy/xydataset.h> 23 typedef std::pair<double,double> TimePair;
33 virtual size_t GetCount(
size_t serie);
35 virtual double GetX(
size_t index,
size_t serie);
37 virtual double GetY(
size_t index,
size_t serie);
40 void reserve(
size_t length);
41 void push_back(
const TimePair& tvpair);
44 vector<TimePair> m_data;
47 #endif // TIMESERIESDATA_H virtual double GetY(size_t index, size_t serie)
Returns y value at index.
virtual wxString GetSerieName(size_t serie)
Returns serie name.
virtual size_t GetCount(size_t serie)
Returns value count in serie specified by index.
virtual double GetX(size_t index, size_t serie)
Returns x value at index.
Base class for XY datasets.
virtual size_t GetSerieCount()
Returns serie count in this dataset.