[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPoints

IPoints Interface

Represents a collection of all IPoint objects in a chart series.

An IPoints instance is typically obtained from Points. It provides indexed access to individual points in the series and supports iteration through all points.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public interface IPoints : IEnumerable<IPoint>, IEnumerable
Public Interface IPoints
    Inherits IEnumerable(Of IPoint), IEnumerable
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Item", "Sales"},
    {"North", 12},
    {"South", 18},
    {"West", 9}
};
IShape shape = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 360, 230);
shape.Chart.SeriesCollection.Add(worksheet.Range["A1:B4"], RowCol.Columns, true, true);
ISeries series = shape.Chart.SeriesCollection[0];
IPoints points = series.Points;
IPoint firstPoint = points[0];

Properties

Name Description
Count

Gets the number of IPoint objects in the collection.

This property returns the number of data points in the parent chart series.

this[int]

Gets the chart point at the specified index from the collection.

Use this property to access an individual IPoint object in the current chart series.

Parent

Gets the parent series of this points collection.

Use this property to access the ISeries object that owns the current collection of chart points.