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.
Unfortunately, activation email could not send to your email. Please try again.

How to format a label of NumericAxis in my barChart?

Thread ID:

Created:

Updated:

Platform:

Replies:

125068 Jul 19,2016 08:32 AM Jul 20,2016 02:31 AM Xamarin.Forms 1
loading
Tags: SfChart
Alvaro Corral
Asked On July 19, 2016 08:32 AM

Hi,

I want to show my BarChart wit the SecondaryAxis with  thousands in this format: 0, 5k, 10k, etc.
My Code in XAML is this:

 <chart:SfChart.SecondaryAxis>
                            <chart:NumericalAxis Interval="5000"
                                                 Maximum="15000"
                                                 Minimum="0"
                                                 ShowMajorGridLines="false" />
                            <chart:ChartAxisLabelStyle LabelFormat="##K" />

                        </chart:SfChart.SecondaryAxis>


But this doesn´t work.

Could you help me?

Parthiban Sundaram [Syncfusion]
Replied On July 20, 2016 02:31 AM

Hi Alvaro, 
Thanks for contacting Syncfusion support.

We have prepared a sample based on your requirement using LabelCreated event for NumericalAxis. Please find the sample from following location.

Sample :  http://www.syncfusion.com/downloads/support/forum/125068/ze/SimpleSample743658083 

Thanks,
Parthiban S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;