C# Classes Used in Charts

DataPoint Class

An instance of the DataPoint Class represents one data point in the DataPointCollection class. Typically we have an X value and a Y value; for some kinds of charts, there may be more than one Y value.

This is fundamentally a kind of list or array.

A common constructor takes two arguments, the X and Y values.

Properties:


DataPointCollection Class

A DataPointCollection object is a collection of DataPoints. It is found as the Points property of a Series object.

Properties:

(and more).

Methods:


Series Class

The Series class stores a DataPointCollection and a variety of Series attributes. It is a member of a SeriesCollection.

Properties:

(and many, many more).


SeriesCollection Class

This is a collection of Series objects. We can have multiple series plotted on one chart (typically in different colors).


ChartArea Class

A chart area is represented by a ChartArea class object and ChartArea objects are stored in the ChartAreaCollection class.