It is currently Fri Oct 20, 2017 3:30 am Advanced search

External images inside of tooltips

Technical support for the Highcharts Stock package

External images inside of tooltips

Postby dlb » Thu Feb 16, 2012 1:00 pm


I was wandering if it is possible to insert external images inside of a flag tooltip ?

From what I've found in the documentation, the formatter only handles a few HTML tags and <img> isn't among them.

"A subset of HTML is supported. The HTML of the tooltip is parsed and converted to SVG, therefore this isn't a complete HTML renderer. The following tabs are supported: <b>, <strong>, <i>, <em>, <br/>, <span>. Spans can be styled with a style attribute, but only text-related CSS that is shared with SVG is handled. "

Is there any way to do this using the renderer ?

Posts: 1
Joined: Thu Feb 16, 2012 12:52 pm

Re: External images inside of tooltips

Postby hfrntt » Wed Feb 22, 2012 4:54 pm

You can use renderer.image, but it's not possible to put rendered inside the flag and automatically expand its bounding box.
Slawek Kolodziej
Highcharts support team
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am

Return to Highstock Usage

Who is online

Users browsing this forum: Bing [Bot] and 1 guest