[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.Type

Type Property

Type

Gets the axis type.

Declaration
AxisType Type { get; }
ReadOnly Property Type As AxisType
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 100},
    {"Feb", 200}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 360, 220).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"]);
IAxis axis = chart.Axes.Item(AxisType.Category, AxisGroup.Primary);
AxisType type = axis.Type;