How to create multiple verticalAxis on RadCartesianChart

3 posts, 1 answers
  1. CT
    CT avatar
    6 posts
    Member since:
    Apr 2018

    Posted 19 Apr 2018 Link to this post

    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. Answer
    Yana
    Admin
    Yana avatar
    5044 posts

    Posted 19 Apr 2018 Link to this post

    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
  3. CT
    CT avatar
    6 posts
    Member since:
    Apr 2018

    Posted 19 Apr 2018 in reply to Yana Link to this post

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

    Cheers,

    CT

Back to Top