Skip to main content
A newer version of this page is available. .

Series Views Overview

  • 2 minutes to read

This document describes the ASP.NET Chart Control’s series view types.

Different series view types are available based on the chart’s underlying data. The view type determines the overall look and behavior of a chart’s series.

seriesView

The series view type is closely connected to the chart’s diagram type, so that each diagram type is used to plot series of a specific view type, and the set of options for each diagram type is unique. Refer to Diagram Overview for a list of available diagram types.

To simultaneously plot multiple series with different view types, ensure that the view types are compatible. By default, a diagram’s type is automatically determined by the view type of the first visible series in the SeriesCollection. See Combining Different Series Views to learn more about view type compatibility.

You can define the required view type when you first create a series, or change it on the fly via the SeriesBase.View property.

AccessingSeriesView

Refer to How to: Change the View of a Series for detailed instructions.

Note that at design time, you can only determine the view type for a WebChartControl.Series collection – so for an automatically created series, the view type can only be defined at runtime. See How to: Individually Change the View Type of Automatically Created Series to learn more.

Additionally, you can access a series of options specific to this view type via the SeriesBase.View property.

SeriesViewOptions

At runtime, you should cast your Series object to the appropriate view type.

((PieSeriesView)chartControl1.Series[0].View).RuntimeExploding = true;

See the specific series view types below for detailed information.

See Also