[]
Gets the parent ISeries that contains this data labels collection.
Use this property to access the series that owns the current data labels.
ISeries Parent { get; }
ReadOnly Property Parent As ISeries
worksheet.Range["A1:B4"].Value = new object[,] {
{"Month", "Sales"},
{"Jan", 10},
{"Feb", 20},
{"Mar", 15}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"], RowCol.Columns, true, true);
ISeries series = chart.SeriesCollection[0];
series.HasDataLabels = true;
ISeries parentSeries = series.DataLabels.Parent;