Working with Point Data

The data for the point data format is accessed by series. A series can be added or removed using the Chart3DPointSeries Collection Editor at design time or programmatically using AddSeries and RemoveSeries method of the Chart3DDataSetPoint class. For more information on accessing the Chart3DPointSeries Collection Editor, see Chart3DPointSeries Collection Editor.

The PointSeries Collection

Individual series are accessed via the SeriesCollection property of the Chart3DDataSetPoint object. The number of points in the series can be determined via the read-only Count property.

The Points property of Chart3DPointSeries class gives access to the points array of the series. It returns array of Chart3DPoint that represent coordinates of data points. To set new data points for the series, assign Points property to the new array of Chart3Dpoint.

Examples

The following creates point dataset and adds two series to it:

      Visual Basic

      C#

The following sets up a new array of data points to the first series:

      Visual Basic

      C#


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.