#include <xydynamicdataset.h>
|
| XYDynamicSerie (const wxRealPointArray &data) |
|
double | GetX (size_t index) |
|
double | GetY (size_t index) |
|
wxRealPoint | GetXY (size_t index) |
|
size_t | GetCount () |
|
const wxString & | GetName () |
|
void | SetName (const wxString &name) |
|
void | AddXY (double x, double y) |
|
void | AddXY (const wxRealPoint &xy) |
|
void | AddXY (const wxRealPointArray &data) |
|
void | Insert (size_t index, double x, double y) |
|
void | Insert (size_t index, const wxRealPoint &xy) |
|
void | Insert (size_t index, const wxRealPointArray &data) |
|
void | Remove (size_t index, size_t count=1) |
|
void | Clear () |
|
XY dynamic serie. Allows dynamic data add/insert/remove.
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
-
void XYDynamicSerie::Clear |
( |
| ) |
|
Remove all points from serie.
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 files:
- /home/bishop/work/projects/nextgismanager/include/freechart/wx/xy/xydynamicdataset.h
- /home/bishop/work/projects/nextgismanager/src/freechart/xy/xydynamicdataset.cpp