Articles in this section
Category / Section

How to inverse the chart axis

1 min read

Essential chart for Xamarin.Forms provides support to invert the chart axis. By setting the IsInversed property to true, you can inverse the axis.

The following code illustrates how to invert the primary axis.

XAML

<chart:SfChart.PrimaryAxis>
      <chart:NumericalAxis IsInversed="true" />
</chart:SfChart.PrimaryAxis> 

C#

NumericalAxis axis = new NumericalAxis ();
axis.IsInversed = true;
chart.PrimaryAxis = axis;

 

F:\Inversed1.png

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment