[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IErrorBar.Parent

Parent Property

Parent

Gets the parent ISeries that contains this error bar.

Use this property to access the chart series that owns the current error bar.

Declaration
ISeries Parent { get; }
ReadOnly Property Parent As ISeries
Examples
worksheet.Range["A1:B4"].Value = new object[,] {{"X", "Y"}, {1, 2}, {2, 4}, {3, 3}};
IChart chart = worksheet.Shapes.AddChart(ChartType.XYScatter, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
chart.SeriesCollection[0].HasErrorBars = true;
IErrorBar errorBar = chart.SeriesCollection[0].YErrorBar;
ISeries parentSeries = errorBar.Parent;