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

RadCartesianChart: Numerical Axis: LabelFormat

1 Answer 208 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 04 Feb 2016, 02:33 PM

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

 

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 09 Feb 2016, 02:27 PM
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
Tags
Chart
Asked by
Tim
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or