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

What is the difference between toolip format and tooltip template?

When you move the mouse over a particular point, the tooltip displays the values of that point. By default, its display format looks like x value : y value. For example: 2000 : 20.


Tooltip format:

You can customize the values displayed in the tooltip by using the format property. The online sample for using the ToolTip format is available in the following link: http://js.syncfusion.com/demos/web/#!/azure/chart/chartcustomization/symbols


Tooltip template:

The ToolTip template refers to the use of HTML elements like image and tables in the tooltip through the template property of the tooltip. Since HTML elements such as div, image, table, etc., are used, you can style the ToolTip template by using the CSS and it appears more attractive than the default tooltip. The online sample for tooltip template is available in the following link: http://js.syncfusion.com/demos/web/#!/azure/chart/chartcustomization/tooltiptemplate


Difference between tooltip format and template:

In general, ToolTip format is used to format the values displayed in the tooltip; whereas, ToolTip template is used to customize the appearance of the tooltip.

In the following code example, the first series is rendered with the ToolTip template, the next with specified ToolTip format, and the last series is rendered with the default tooltip.



Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework: Product Version:
3264 01/19/2015 08/21/2015 JavaScript ejChart 4
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

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