Dundas Chart for Windows Forms
Series Class
Members  See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : Series Class


This class stores data points as well as series attributes.


Stores data points and default series attributes.

Object Model





Syntax

Visual Basic (Declaration)  
Public Class Series 
   Inherits DataPointAttributes
   Implements IChartDataSourceProvider 
Visual Basic (Usage) Copy Code
Dim instance As Series
C#  
public class Series : DataPointAttributes, IChartDataSourceProvider  

Remarks

A Series object represents a data series, and is stored in the SeriesCollection class.

A series stores DataPoint objects using the DataPointCollection class (exposed as the Points property), and also stores attributes of the data series. For example, a data series has a color attribute, background image attribute, a background gradient attribute, etc.

The DataPoint objects that belong to a Series also have their own attributes. Normally if the same attribute is set for both a data point and its series then the data point attribute has precedence. For a detailed explanation on how data is displayed refer to the Appearance of Data topic.

A series is also not necessarily plotted, and can store data point values that are used to perform a calculation from which another series is created and then plotted. For example, Series A (plotted) may be the result of the addition of Series B and Series C data points, neither of which are drawn. To draw a Series object the ChartArea property must be the name of the ChartArea object used to plot the series.

When a series is created it is automatically assigned to the ChartArea object named "Default", or the first available chart area in the chart area collection if "Default" does not exist.

To not display a series set its ChartArea property to a zero-length string.

The ChartType property determines what type of chart this series will be plotted as, if it is drawn.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WinControl.DataPointAttributes
      Dundas.Charting.WinControl.Series

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.