Holds data for one XY serie.
More...
#include <xysimpledataset.h>
|
| | wxDEPRECATED_MSG ("Use XYSerie(const wxVector&<wxRealPoint>) instead.") XYSerie(double *data |
| | Constructs new xy serie. More...
|
| |
| | XYSerie (const wxVector< wxRealPoint > &seriesData) |
| | Constructs a new XY series using data that is already stored in the prepared vector. More...
|
| |
|
void | Append (const wxRealPoint &values) |
| |
|
void | Insert (size_t index, const wxRealPoint &values) |
| |
|
void | Remove (size_t index) |
| |
| double | GetX (size_t index) |
| | Retrieves the X value of an existing data point within the series. More...
|
| |
| double | GetY (size_t index) |
| | Retrieves the Y value of an existing data point within the series. More...
|
| |
| void | UpdateX (size_t index, double x) |
| | Updates the X value of an existing data point within the series. More...
|
| |
| void | UpdateY (size_t index, double y) |
| | Updates the Y value of an existing data point within the series. More...
|
| |
| void | UpdatePoint (size_t index, const wxRealPoint &values) |
| | Updates the X and Y values of an existing data point within the series. More...
|
| |
|
size_t | GetCount () |
| |
|
const wxString & | GetName () |
| |
|
void | SetName (const wxString &name) |
| |
Holds data for one XY serie.
Definition at line 20 of file xysimpledataset.h.
| XYSerie::XYSerie |
( |
const wxVector< wxRealPoint > & |
seriesData | ) |
|
Constructs a new XY series using data that is already stored in the prepared vector.
- Parameters
-
| seriesData | The data that will be displayed by this series. |
| double XYSerie::GetX |
( |
size_t |
index | ) |
|
Retrieves the X value of an existing data point within the series.
- Parameters
-
| index | The position of the data point within the series. |
- Returns
- The X value for the selected data point.
| double XYSerie::GetY |
( |
size_t |
index | ) |
|
Retrieves the Y value of an existing data point within the series.
- Parameters
-
| index | The position of the data point within the series. |
- Returns
- The Y value for the selected data point.
| void XYSerie::UpdatePoint |
( |
size_t |
index, |
|
|
const wxRealPoint & |
values |
|
) |
| |
Updates the X and Y values of an existing data point within the series.
- Parameters
-
| index | The position of the data point within the series. |
| values | The new values for X and Y. |
| void XYSerie::UpdateX |
( |
size_t |
index, |
|
|
double |
x |
|
) |
| |
Updates the X value of an existing data point within the series.
- Parameters
-
| index | The position of the data point within the series. |
| values | The new values for X. |
| void XYSerie::UpdateY |
( |
size_t |
index, |
|
|
double |
y |
|
) |
| |
Updates the Y value of an existing data point within the series.
- Parameters
-
| index | The position of the data point within the series. |
| values | The new value for Y. |
| XYSerie::wxDEPRECATED_MSG |
( |
"Use XYSerie(const wxVector&<wxRealPoint>) instead." |
| ) |
|
Constructs new xy serie.
- Parameters
-
| data | double [x, y] array |
| count | point count in data array |
The documentation for this class was generated from the following file: