[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.AxisBetweenCategories

AxisBetweenCategories Property

AxisBetweenCategories

Gets or sets whether the value axis crosses the category axis between categories.

This property applies to a category axis. A value of true indicates that the value axis crosses the category axis between categories instead of at the category marks.

Declaration
bool AxisBetweenCategories { get; set; }
Property AxisBetweenCategories As Boolean
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 100},
    {"Feb", 200},
    {"Mar", 150}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 150, 0, 250, 250).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
IAxis axis = chart.Axes.Item(AxisType.Category, AxisGroup.Primary);
bool axisBetweenCategories = axis.AxisBetweenCategories;