RadCartesianChart: Numerical Axis: LabelFormat

2 posts, 0 answers
  1. Tim
    Tim avatar
    1 posts
    Member since:
    Dec 2015

    Posted 04 Feb Link to this post

    Hi, I am trying to format labels to be integer digits and include a character to represent a unit of measurement. I am using Xamarin Forms and here is the xaml:

    <telerikChart:NumericalAxis Minimum="0" LabelFormat="%2.0f L" />

    The above line will display whole numbers followed by the letter L on Android, but iOS it still shows one decimal place and no letter after the number. I have tried a combination of formatting options by iOS and I can't seem to change the label's format on iOS.

    Is there a way to adjust the label format for iOS to remove decimals and add a letter to the label? I can separate the format string out to be platform specific, if they use different formatting rules. Thanks

     

  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 09 Feb Link to this post

    Hi Tim,

    I am afraid, this is a bug in the control. The fix will be available on our next build. I have updated your Telerik points.

    Best regards,
    Ves
    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. DevCraft banner
Back to Top