[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.AxisGroup

AxisGroup Enum

Specifies the axis group used by a chart axis or series.

Use this enum with chart APIs such as series and axes to select whether data is plotted on the primary axis group or the secondary axis group.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum AxisGroup
Public Enum AxisGroup
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 120},
    {"Feb", 150}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
chart.SeriesCollection[0].AxisGroup = AxisGroup.Secondary;

Fields

Name Description
Primary

Specifies the primary axis group.

Secondary

Specifies the secondary axis group.