[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILegend.Parent

Parent Property

Parent

Gets the parent IChart that contains this legend.

Use this property to access the chart that owns the current legend.

Declaration
IChart Parent { get; }
ReadOnly Property Parent As IChart
Examples
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
ILegend legend = chart.Legend;
IChart parentChart = legend.Parent;