Skip to main content
All docs
V26.1
  • Axis.CrossesAt Property

    Gets or sets the value at which this axis crosses another axis.

    Namespace: DevExpress.Docs.Office

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public double CrossesAt { get; set; }

    Property Value

    Type Description
    Double

    The value at which this axis crosses another axis.

    Example

    Set the Axis.CrossType property to Custom and use the Axis.CrossesAt property to specify the crossing point on the axis perpendicular to the current axis:

    DevExpress Presentation API - Custom Axis Position

    using DevExpress.Docs.Office;
    
        CategoryAxis? axis = chart.ArgumentAxis as CategoryAxis;
        if (axis != null) {
            axis.CrossType = AxisCrossType.Custom;
            axis.CrossesAt = 8;
        }
    
    See Also