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

How to make my ToolTip display the X value or other underlying values instead of Y value?

Platform: Windows Phone |
Control: SfChart


By default, series ToolTip displays only the Y values. This article describes the way to change this default setup for ToolTip and make it display both X and Y values.


The ToolTip in the SfChart can be customized by using the TooltipTemplate property. The custom template can be defined in the DataTemplate property. This template gets the ChartSegment in the template context and you can get X and Y values or even the complete datapoint object from this segment instance.


Note: A converter is used to get the X and Y values from the ChartSegment.








The following screenshot illustrates the output for the Chart with the ToolTip showing the X and Y values of the segments.das:


F:\Issue Files Chart\Issue File -10 Knowledge Base\WP_ScreenShot\New Second TIme\wp_ss_20150210_0049.png

You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile