Skip to main content
A newer version of this page is available. .

AxisBase.Position Property

Gets or sets the axis position.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

Declaration

public AxisPosition Position { get; set; }

Property Value

Type Description
AxisPosition

An AxisPosition enumeration value that specifies the axis position.

Available values:

Name Description
Near

An x-axis is displayed at the bottom side of the plot area, and a y-axis on the left.

AxisPosition.Near

Far

An x-axis is displayed at the top side of the plot area, and a y-axis on the right.

AxisPosition.Far

Remarks

Use the Position property to specify whether an x-axis should be displayed on the bottom or top of a chart’s plot area, and a y-axis on the left or right.

The example below shows how to locate a y-axis on the right of the diagram:

<dxc:ChartView.AxisY>
  <dxc:NumericAxisY Position="Far">
      <!-- Other axis settings. -->
  </dxc:NumericAxisY >
</dxc:ChartView.AxisY>

AxisPosition.Far

See Also