We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

iOS version of Numeric Axis doesn't display float value

Hi there, 
I am using SFChart control in my project and it works perfectly in Android. In iOS I have small issue - it doesn't display float value. Please take a look to attached file it contains screenshot for iOS and Android. I want to make iOS version to look exactly as Android version, I mean to display float value. Can you please help me here?

Thanks in advance
Khasan

Attachment: screenshot_794f3cf7.rar

3 Replies

SP Saravana Pandian Murugan Syncfusion Team March 22, 2017 11:46 AM UTC

Hi Khasan, 
  
Thanks for contacting Syncfusion support. 
  
We are unable to reproduce the reported issue at our end and we have prepared a sample for this. Please update us the modified sample to reproduce the issue which will be helpful for providing further assistance on this. 
  
  
Note: We can set the LabelFormat to axis label by using the below code.  
  
Code Snippet: 
  
[XAML]: 
  
 
<chart:NumericalAxis.LabelStyle> 
   <chart:ChartAxisLabelStyleLabelFormat="#.00"/> 
</chart:NumericalAxis.LabelStyle> 
  
 
  
[C#]: 
  
 
NumericalAxis secondayAxis = newNumericalAxis(); 
secondayAxis.LabelStyle.LabelFormat = "#.00"; 
  
 
  
  
Regards, 
Saravana Pandian M. 



KH khasan March 25, 2017 12:07 PM UTC

Hi Saravana Pandian,

Thanks for response, yes you are right the issue was at my code I have set incorrect value for LabelFormat property

Thanks
Khasan


SP Saravana Pandian Murugan Syncfusion Team March 27, 2017 04:47 AM UTC

Hi Khasan,

Thanks for the update. We are glad to know that the given solution works. Please get back to us if you need further assistance.

Regards,
Saravana Pandian M.


Loader.
Live Chat Icon For mobile
Up arrow icon