Articles in this section
Category / Section

How to set opposed position for chart axes.

1 min read

                SFChart provides support to place the axis in opposite position. Chart axis has a property called opposedPosition to place the chart axes in opposite position.

 

The following code illustrates how to use the opposedPosition property.

 

Objective-C

SFCategoryAxis *axis = [[SFCategoryAxis alloc]init];
axis.opposedPosition = true;
chart.primaryAxis = axis;

 

Swift

var axis : SFNumericalAxis = SFNumericalAxis();
axis.opposedPosition = true;
chart.primaryAxis = axis;

 

Xamarin.iOS (C#)

SFCategoryAxis axis = new SFCategoryAxis();axis.OpposedPosition = true;chart.PrimaryAxis = axis;

 

F:\Opposed1.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
Access denied
Access denied