vdk 2.4.0
|
Is a list of 2D points with some propreties and behaviours added. More...
#include <chart.h>
Public Member Functions | |
Series (char *title) | |
~Series () | |
void | Add (double x, double y) |
void | Add (double *x, double *y, int n) |
Coord | Min () |
Coord | Max () |
char * | Title () |
bool | operator== (Series &s) |
![]() | |
VDKValueList () | |
VDKValueList (const VDKValueList< T > &l) | |
VDKValueList< T > & | operator= (const VDKValueList< T > &l) |
virtual | ~VDKValueList () |
void | add (const T &t) |
void | push (const T &t) |
int | insert (const T &t, bool unique=false) |
void | flush () |
T & | operator[] (int n) |
T * | find (T &t) |
int | size () |
bool | unlink (int ndx) |
int | at (T &t) |
Public Attributes | |
VDKReadWriteValueProp< Series, VDKRgb > | Color |
VDKReadWriteValueProp< Series, GdkLineStyle > | LineStyle |
VDKReadWriteValueProp< Series, int > | LineWidth |
VDKReadWriteValueProp< Series, GdkCapStyle > | LineCapStyle |
VDKReadWriteValueProp< Series, GdkJoinStyle > | LineJoinStyle |
Is a list of 2D points with some propreties and behaviours added.
|
inline |
Constructor
title | series title (should be unique) |
|
inline |
Destructor
void Series::Add | ( | double * | x, |
double * | y, | ||
int | n | ||
) |
Adds an array of 2D points to series
x | array |
y | array |
n | array length |
void Series::Add | ( | double | x, |
double | y | ||
) |
Adds a 2D point to a series
x | x coordinate |
y | y coordinate |
|
inline |
Returns maximum 2D point of a series
|
inline |
Returns minimum 2D point of a series
|
inline |
Equality operator
|
inline |
Returns series title
VDKReadWriteValueProp<Series,GdkCapStyle> Series::LineCapStyle |
Sets/gets line cap style (defaults to GDK_CAP_NOT_LAST) can be:
VDKReadWriteValueProp<Series,GdkJoinStyle> Series::LineJoinStyle |
Sets/gets line join style (defaults to GDK_JOIN_MITER) can be:
VDKReadWriteValueProp<Series,GdkLineStyle> Series::LineStyle |
Sets/gets line style (defaults to GDK_LINE_SOLID) can be:
VDKReadWriteValueProp<Series,int> Series::LineWidth |
Sets/gets line width (defaults to 1)