This is a migrated thread and some comments may be shown as answers.

How to create multiple verticalAxis on RadCartesianChart

2 Answers 57 Views
This is a migrated thread and some comments may be shown as answers.
CT
Top achievements
Rank 1
CT asked on 19 Apr 2018, 05:27 AM

Hi,

Is there a way to add the second vertical axis (on right hand side of the chart) on RadCartesianChart (Xamarin Form)?

 

Regards,

CT

2 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 19 Apr 2018, 09:45 AM
Hello,

Multiple axes functionality is not yet available for the Xamarin.Forms implementation of the Chart control. We have it logged as a feature request in our Feedback Portal, you can vote for it and subscribe to receive notifications when its status is updated at the following link - Multiple Axes for Chart.

Still, you should be able to achieve it after customizing the native controls - through custom renderers. Here are the articles that describe how to achieve the behavior on the different platforms:
  • Android: Multiple Axes
  • UWP: Multiple Axes
  • iOS: Axes Overview. You can check the Multiple Axis example in the iOS Samples application(It is located in your local Telerik UI for Xamarin installation, in the Examples/iOS folder)

So basically, you can create custom renderers to access the native controls and configure the setup through them. I have added a sample application that shows how to achieve the behavior in Android. The approach is the same for the iOS and UWP. Please review the sample and let me know if you have any questions or concerns.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
CT
Top achievements
Rank 1
answered on 19 Apr 2018, 09:53 AM

Thanks Yana, and I will give it a try with the sample code you provided.

Cheers,

CT

Tags
Chart
Asked by
CT
Top achievements
Rank 1
Answers by
Yana
Telerik team
CT
Top achievements
Rank 1
Share this question
or