Tooltip formatter

Technical support, bug reports and more.

Tooltip formatter

Postby apphacker on Sat Jul 31, 2010 12:04 am

The tooltip formatting options seem to be different in the new version of highcharts. We'd like to dramatically alter the appearance of the tooltip (want to make it look like a speech bubble). Is that possible? I realize there's a tooltip formatter method, but it seems to not like HTML anymore and the tooltip is rendered as an SVG, at least in Google Chrome, and that produces limited tooltip styling options it seems.
apphacker
 
Posts: 19
Joined: Thu Jul 29, 2010 2:04 am

Re: Tooltip formatter

Postby apphacker on Sat Jul 31, 2010 12:06 am

I guess I could try to add a onmouseover event on points and add the tooltip I want via HTML using the coords given? :/
apphacker
 
Posts: 19
Joined: Thu Jul 29, 2010 2:04 am

Re: Tooltip formatter

Postby not on Tue Aug 03, 2010 2:22 pm

For custom text containers you can use labels or renderer (if you need more sophisticated shapes). You can use point events (mouseover and out for example), like you told. If you want to display elements next to points, you can use point.x or point.plotX (and Y accordingly).

Code: Select all
chart.series[0].data[0].plotX;
chart.series[0].data[1].plotY;
Maciej Piecha,
Highcharts Support Team
User avatar
not
 
Posts: 331
Joined: Mon Jun 07, 2010 4:01 pm


Return to Highcharts Usage

Who is online

Users browsing this forum: Google [Bot] and 4 guests