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 bind data in a Tooltip Template

Thread ID:





114375 Nov 15,2013 10:42 PM UTC Nov 21,2013 08:37 AM UTC WinRT 1
Tags: SfChart
Asked On November 15, 2013 10:42 PM UTC

Hi all,

I am trying to customise the tooltip on my chart. My question is how do I bind data in the template it self? I have attached a test project with my current code.

Any help would be great,

Cheers, Leigh.


Muneesh Kumar G [Syncfusion]
Replied On November 21, 2013 08:37 AM UTC

Hi Leigh,


Thanks for using Syncfusion Products.


We can achieve your requirement by setting Text as per the below code snippet.


Code Snippet[XAML]:


<DataTemplate x:Key="ToolTipTemplate">




<TextBlock Text="{Binding YData}" Margin="0,2,10,0" FontSize="14.666" Foreground="White" FontFamily="Segoeui" VerticalAlignment="Center" HorizontalAlignment="Left" />





We have modified your sample based on this and you can find the sample under the following location:

Sample : http://www.syncfusion.com/downloads/support/directtrac/115901/ToolTip-46615306.zip

Please let us know if you have any queries.


Muneesh Kumar G.


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