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

How to format the tooltip text in ejChart?

By default, the x and y value of a point is displayed as the tooltip when you place the mouse over a Chart point. The labelFormat property of horizontal axis used by the series is used to format the x value displayed in tooltip and the labelFormat property of vertical axis used by the series is used to format the y value of text displayed in tooltip.

JS

The following screenshot displays the Chart with formatted y value of the point in tooltip text.

Figure 1: Chart with formatted tooltip text

JS Playground sample link: Tooltip text formatting

Article ID: Published Date: Last Revised Date: Platform: Control:
3905 02/12/2015 08/11/2015 JavaScript ejChart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.