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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to format number in Tooltip ?

Thread ID:





130788 Jun 2,2017 09:01 AM UTC Jun 8,2017 11:22 AM UTC Xamarin.Android 5
Tags: SfChart
Asked On June 2, 2017 09:01 AM UTC

I want to ask how to format number in Chart Tooltip for Xamarin.Android because i can't find any example in docs. I really appreciate for any proven example. Thank you

Parthiban Sundaram [Syncfusion]
Replied On June 5, 2017 07:04 AM UTC

Hi Kenny,

Thanks for using Syncfusion products.

You can use the following code snippet to format the ChartTooltipBehavior.

Code snippet:

      ChartTooltipBehavior tooltip = new ChartTooltipBehavior(); 
    tooltip.LabelFormat = "#00.00"; 

Replied On June 5, 2017 08:57 AM UTC

Thank you for your reply Mr./Ms. Parthiban. Sorry for give unclear question before.I want format like this Rp. 1,000,000 in the tooltip but just in some series (not apply this format to all series in chart). How can i get it ?

Saravana Pandian Murugan [Syncfusion]
Replied On June 6, 2017 01:12 PM UTC

Hi Kenny,

We have achieved your requirement by using GetView method which is an override method of ChartTooltipBehavior. Please download the sample from the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/130788/ze/TooltipFormatSample-1688098921

Please check the sample and let us know if you need further assistance on this.

Saravana Pandian M. 

Replied On June 7, 2017 07:01 AM UTC

Thank you very much Mr./Ms. Saravana Pandian M. this is what i really need.

Saravana Pandian Murugan [Syncfusion]
Replied On June 8, 2017 11:22 AM UTC

Hi Kenny,

Thanks for the update. We are glad to know that the given solution worked. Please let us know if you need further assistance on this.

Saravana Pandian M.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon