vdk 2.4.0
|
Is a list of 2D points with some propreties and behaviours added. More...
#include <chart.h>
Is a list of 2D points with some propreties and behaviours added.
Series::Series | ( | char * | title | ) | [inline] |
Constructor
title | series title (should be unique) |
Series::~Series | ( | ) | [inline] |
Destructor
void Series::Add | ( | double | x, |
double | y | ||
) |
Adds a 2D point to a series
x | x coordinate |
y | y coordinate |
void Series::Add | ( | double * | x, |
double * | y, | ||
int | n | ||
) |
Adds an array of 2D points to series
x | array |
y | array |
n | array length |
Coord Series::Max | ( | ) | [inline] |
Returns maximum 2D point of a series
Coord Series::Min | ( | ) | [inline] |
Returns minimum 2D point of a series
bool Series::operator== | ( | Series & | s | ) | [inline] |
Equality operator
char* Series::Title | ( | ) | [inline] |
Returns series title
VDKReadWriteValueProp<Series,VDKRgb> Series::Color |
Sets/gets color (defaults to black)
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)