XY dynamic serie.
More...
#include <xydynamicdataset.h>
|
| XYDynamicSerie (const wxRealPointArray &data) |
|
double | GetX (size_t index) |
| Returns x coordinate at specified index. More...
|
|
double | GetY (size_t index) |
| Returns y coordinate at specified index. More...
|
|
wxRealPoint | GetXY (size_t index) |
| Returns point at specified index. More...
|
|
size_t | GetCount () |
| Returns points count. More...
|
|
const wxString & | GetName () |
| Returns serie name. More...
|
|
void | SetName (const wxString &name) |
| Sets serie name. More...
|
|
void | AddXY (double x, double y) |
| Adds XY point to end of data. More...
|
|
void | AddXY (const wxRealPoint &xy) |
| Adds XY point to end of data. More...
|
|
void | AddXY (const wxRealPointArray &data) |
| Adds XY points to end of data. More...
|
|
void | Insert (size_t index, double x, double y) |
| Insert XY point at specified position. More...
|
|
void | Insert (size_t index, const wxRealPoint &xy) |
| Insert XY point at specified position. More...
|
|
void | Insert (size_t index, const wxRealPointArray &data) |
| Insert XY points at specified position. More...
|
|
void | Remove (size_t index, size_t count=1) |
| Remove number of points from specified index. More...
|
|
void | Clear () |
| Remove all points from serie.
|
|
XY dynamic serie.
Allows dynamic data add/insert/remove.
Definition at line 31 of file xydynamicdataset.h.
void XYDynamicSerie::AddXY |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
Adds XY point to end of data.
- Parameters
-
x | x coordinate |
y | y coordinate |
void XYDynamicSerie::AddXY |
( |
const wxRealPoint & |
xy | ) |
|
Adds XY point to end of data.
- Parameters
-
void XYDynamicSerie::AddXY |
( |
const wxRealPointArray & |
data | ) |
|
Adds XY points to end of data.
- Parameters
-
size_t XYDynamicSerie::GetCount |
( |
| ) |
|
Returns points count.
- Returns
- points count
const wxString& XYDynamicSerie::GetName |
( |
| ) |
|
Returns serie name.
- Returns
- serie name
double XYDynamicSerie::GetX |
( |
size_t |
index | ) |
|
Returns x coordinate at specified index.
- Parameters
-
- Returns
- x coordinate at specified index
wxRealPoint XYDynamicSerie::GetXY |
( |
size_t |
index | ) |
|
Returns point at specified index.
- Parameters
-
- Returns
- point at specified index
double XYDynamicSerie::GetY |
( |
size_t |
index | ) |
|
Returns y coordinate at specified index.
- Parameters
-
- Returns
- y coordinate at specified index
void XYDynamicSerie::Insert |
( |
size_t |
index, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
Insert XY point at specified position.
- Parameters
-
index | index before which to insert point |
x | x coordinate |
y | y coordinate |
void XYDynamicSerie::Insert |
( |
size_t |
index, |
|
|
const wxRealPoint & |
xy |
|
) |
| |
Insert XY point at specified position.
- Parameters
-
index | index before which to insert point |
xy | point to be inserted |
void XYDynamicSerie::Insert |
( |
size_t |
index, |
|
|
const wxRealPointArray & |
data |
|
) |
| |
Insert XY points at specified position.
- Parameters
-
index | index before which to insert |
data | points array to be inserted |
void XYDynamicSerie::Remove |
( |
size_t |
index, |
|
|
size_t |
count = 1 |
|
) |
| |
Remove number of points from specified index.
- Parameters
-
index | index from which to remove |
count | number of points to remove |
void XYDynamicSerie::SetName |
( |
const wxString & |
name | ) |
|
Sets serie name.
- Parameters
-
The documentation for this class was generated from the following file: