[]
Specifies the point on the specified axis where the other axis crosses.
Use this enumeration with Crosses to control whether an axis crosses automatically, at the minimum or maximum value, or at a custom position defined by the axis crossing value.
public enum AxisCrosses
Public Enum AxisCrosses
worksheet.Range["A1:B3"].Value = new object[,] {
{"Name", "Value"},
{"A", 10},
{"B", 20}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"]);
IAxis valueAxis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
valueAxis.Crosses = AxisCrosses.Maximum;
| Name | Description |
|---|---|
| Automatic | Specifies the axis crossing point. |
| Custom | Specifies the axis crossing point using the CrossesAt property. |
| Maximum | Specifies that the axis crosses at the maximum value. |
| Minimum | Specifies that the axis crosses at the minimum value. |