- Home
- Forum
- Xamarin.Android
- How to format number in Tooltip ?
How to format number in Tooltip ?
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
SIGN IN To post a reply.
5 Replies
PS
Parthiban Sundaram
Syncfusion Team
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:
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";
chart.Behaviors.Add(tooltip); |
UG: https://help.syncfusion.com/xamarin-android/sfchart/tooltip#customizing-appearance
Sample: http://www.syncfusion.com/downloads/support/forum/130788/ze/SimpleSample-1001508057
Please let us know, if you need further assistance on this.
Regards,
Parthiban S
Sample: http://www.syncfusion.com/downloads/support/forum/130788/ze/SimpleSample-1001508057
Please let us know, if you need further assistance on this.
Regards,
Parthiban S
KE
Kenny
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 ?
SP
Saravana Pandian Murugan
Syncfusion Team
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.
Regards,
Saravana Pandian M.
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.
Regards,
Saravana Pandian M.
KE
Kenny
June 7, 2017 07:01 AM UTC
Thank you very much Mr./Ms. Saravana Pandian M. this is what i really need.
SP
Saravana Pandian Murugan
Syncfusion Team
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.
Regards,
Saravana Pandian M.
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.
Regards,
Saravana Pandian M.
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
KE Kenny
- Jun 2, 2017 09:01 AM UTC
- Jun 8, 2017 11:22 AM UTC