[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.CrossesAt

CrossesAt Property

CrossesAt

Gets or sets the point on the value axis where the category axis crosses it.

This property applies only to the value axis. To use a custom crossing point, set the axis crosses mode to Custom.

Declaration
double CrossesAt { get; set; }
Property CrossesAt As Double
Examples
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
IAxis axis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
axis.Crosses = AxisCrosses.Custom;
axis.CrossesAt = 5.0;
double crossesAt = axis.CrossesAt;