Skip to main content

AxisDisplayPositionNear Class

Positions an x-axis on the bottom side of the plot area, and a y-axis on the left.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public class AxisDisplayPositionNear :
    AxisDisplayPositionBase

Remarks

Assign the AxisDisplayPositionNear object to the DisplayPosition property of an axis to locate:

  • the x-axis on the bottom of the chart diagram.

    – or –

  • the y-axis on the left of the chart diagram.

Axis Position - Near

<dxc:ChartView>
    <!-- ChartView.Sereis -->

    <dxc:ChartView.AxisY>
      <dxc:NumericAxisY>
          <dxc:NumericAxisY.DisplayPosition>
              <dxc:AxisDisplayPositionNear/>
          </dxc:NumericAxisY.DisplayPosition>
      </dxc:NumericAxisY>
    </dxc:ChartView.AxisY>

    <dxc:ChartView.AxisX>
        <dxc:QualitativeAxisX>
            <dxc:QualitativeAxisX.DisplayPosition>
              <dxc:AxisDisplayPositionNear/>
            </dxc:QualitativeAxisX.DisplayPosition>
        </dxc:QualitativeAxisX>
    </dxc:ChartView.AxisX>
</dxc:ChartView>

Inheritance

See Also