[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPoints.Item

this Property

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.

Declaration
IPoint this[int index] { get; }
ReadOnly Default Property Item(index As Integer) As IPoint
Parameters
Type Name Description
int index

The zero-based index of the point to retrieve.

Examples
worksheet.Range["A1:B4"].Value = new object[,] {{"Month", "Sales"}, {"Jan", 12}, {"Feb", 18}, {"Mar", 15}};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
ISeries series = chart.SeriesCollection[0];
IPoint point = series.Points[0];