Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Series Class Reference

Is a list of 2D points with some propreties and behaviours added. More...

#include <chart.h>

Inheritance diagram for Series:

VDKValueList< Coord > List of all members.

Public Methods

Public Attributes


Detailed Description

Is a list of 2D points with some propreties and behaviours added.


Constructor & Destructor Documentation

Series::Series char *    title [inline]
 

Constructor

Parameters:
title  series title (should be unique)

Series::~Series   [inline]
 

Destructor


Member Function Documentation

void Series::Add double *    x,
double *    y,
int    n
 

Adds an array of 2D points to series

Parameters:
x  array
y  array
n  array length

void Series::Add double    x,
double    y
 

Adds a 2D point to a series

Parameters:
x  x coordinate
y  y coordinate

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


Member Data Documentation

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:

  • GDK_CAP_NOT_LAST
  • GDK_CAP_BUTT
  • GDK_CAP_ROUND
  • GDK_CAP_PROJECTING

VDKReadWriteValueProp<Series,GdkJoinStyle> Series::LineJoinStyle
 

Sets/gets line join style (defaults to GDK_JOIN_MITER) can be:

  • GDK_JOIN_MITER
  • GDK_JOIN_ROUND
  • GDK_JOIN_BEVEL

VDKReadWriteValueProp<Series,GdkLineStyle> Series::LineStyle
 

Sets/gets line style (defaults to GDK_LINE_SOLID) can be:

  • GDK_LINE_SOLID
  • GDK_LINE_ON_OFF_DASH
  • GDK_LINE_DOUBLE_DASH

VDKReadWriteValueProp<Series,int> Series::LineWidth
 

Sets/gets line width (defaults to 1)


The documentation for this class was generated from the following files:
Generated on Sat May 4 21:58:29 2002 for vdk 2.0.1 by doxygen1.2.15