The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ChartObject.Views Property

Provides access to a collection of chart views.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

ChartViewCollection Views { get; }
ReadOnly Property Views As ChartViewCollection
ChartViewCollection Views { get; }
ReadOnly Property Views As ChartViewCollection
ChartViewCollection Views { get; }
ReadOnly Property Views As ChartViewCollection

Property Value

Type Description
ChartViewCollection

A ChartViewCollection that is a collection of ChartView objects.

Property Value

Type Description
ChartViewCollection

A ChartViewCollection that is a collection of ChartView objects.

Property Value

Type Description
ChartViewCollection

A ChartViewCollection that is a collection of ChartView objects.

Remarks

Each chart has an associated ChartView. This object is created automatically when you create a chart. Chart views are stored in the ChartViewCollection collection, which the Views property returns.

A chart view consolidates series of the same type. A chart may contain several views of compatible types. A chart displays views of compatible types simultaneously.

Compatible types are listed below:

If a series of an incompatible type is added to the chart, chart views are re-created. The resulting chart contains only one view of the most recently added type.

Use the ChartView.Series.Add method to add a series of a particular type. The type of the added series is the same as the type of the view to which it is added (determined by the ChartView.ViewType).

See Also