Skip to main content

AxisDisplayPositionFar Class

Positions an x-axis on the top side of the plot area, or a y-axis on the right.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public class AxisDisplayPositionFar :
    AxisDisplayPositionBase

Remarks

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

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

    – or –

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

Axis Position - Far

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

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

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

Inheritance

See Also