[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.AxisType

AxisType Enum

Specifies the type of chart axis.

Use this enumeration with Axes, IAxes.Item(AxisType), or IAxes.Item(AxisType, AxisGroup) to select the category axis, value axis, or series axis in a chart.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum AxisType
Public Enum AxisType
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 10},
    {"Feb", 20},
    {"Mar", 15}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"], RowCol.Columns, true, true);
IAxis categoryAxis = chart.Axes.Item(AxisType.Category);

Fields

Name Description
Category

Specifies that the axis displays categories.

SeriesAxis

Specifies that the axis displays data series.

Value

Specifies that the axis displays values.