[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.Parent

Parent Property

Parent

Gets the IAxes collection that contains this axis.

Use this property to access the parent axes collection of the current axis when you need to work with other axes on the same chart.

Declaration
IAxes Parent { get; }
ReadOnly Property Parent As IAxes
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 axis = shape.Chart.Axes.Item(AxisType.Category);
IAxes axes = axis.Parent;