[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPoints.Parent

Parent Property

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.

Declaration
ISeries Parent { get; }
ReadOnly Property Parent As ISeries
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];
IPoints points = series.Points;
ISeries parentSeries = points.Parent;