[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ITickLabels.Parent

Parent Property

Parent

Gets the parent IAxis that contains these tick labels.

Use this property to access the axis associated with the current tick labels when you need to continue configuring the axis after working with its labels.

Declaration
IAxis Parent { get; }
ReadOnly Property Parent As IAxis
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 100},
    {"Feb", 200}
};
IShape shape = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 360, 230);
shape.Chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
IAxis parentAxis = shape.Chart.Axes.Item(AxisType.Category).TickLabels.Parent;