It is currently Tue Jul 29, 2014 4:35 am Advanced search

Tooltip going off screen

Technical support for the Highcharts Stock package

Re: Tooltip going off screen

Postby sky82 » Fri Dec 16, 2011 3:28 pm

There is still an issue with this thing, and it happens also in HighStock v1.1. The width setting works only if is set globally in the chart declaration, like seen in your fiddle. If the width of the tooltip is set per single serie, instead, it is totally ignored.
sky82
 
Posts: 12
Joined: Fri Dec 02, 2011 1:25 pm

Re: Tooltip going off screen

Postby grtvrt » Tue Dec 20, 2011 5:02 pm

Hi ,

It's not possible to define the tootlip per serie.

Gert Vaartjes
Highsoft Solutions
grtvrt
 
Posts: 154
Joined: Thu Apr 14, 2011 8:03 am

Re: Tooltip going off screen

Postby trinhthanhdung » Thu Dec 22, 2011 11:36 am

Hi, because the length of tooltip is not fixed.
So I want to set maxWidth for tooltip, but it doesn't work !
Please check my code http://jsfiddle.net/boykocodon/pDD7c/3/
Please help me !
trinhthanhdung
 
Posts: 118
Joined: Fri Jul 15, 2011 9:59 am

Re: Tooltip going off screen

Postby hfrntt » Wed Dec 28, 2011 1:29 am

It's not working because not all style rules are supported here (tooltip is a part of svg image).
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am

Re: Tooltip going off screen

Postby trinhthanhdung » Wed Dec 28, 2011 5:47 am

Hi,
In IE8, tooltip's width is not work.
http://jsfiddle.net/boykocodon/pDD7c/4/
Please help me, thanks !
trinhthanhdung
 
Posts: 118
Joined: Fri Jul 15, 2011 9:59 am

Re: Tooltip going off screen

Postby hfrntt » Sat Dec 31, 2011 12:30 am

Looks like a bug, we'll take a look at this.
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am

Re: Tooltip going off screen

Postby trinhthanhdung » Mon Jan 16, 2012 12:44 pm

Hi,
Please see my code http://jsfiddle.net/boykocodon/pDD7c/17/
I want in tooltip, first span is bold, and second span is normal.
But because I set width of tooltip = 100px, so only first line is bold.
So please help me to fix it
Thanks
trinhthanhdung
 
Posts: 118
Joined: Fri Jul 15, 2011 9:59 am

Re: Tooltip going off screen

Postby hfrntt » Fri Jan 20, 2012 2:51 am

Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am

Re: Tooltip going off screen

Postby trinhthanhdung » Fri Apr 06, 2012 12:09 pm

hfrntt wrote:It's a known issue (same as here: https://github.com/highslide-software/h ... issues/390)

Hi,
I follow issue, by linkhttp://jsfiddle.net/Ad33w/11/.
In this link, all text must be not wrap to get style color red.
But I set width of tooltip to wrap text, so I want to wrap and all text must be applied style.
Thanks
trinhthanhdung
 
Posts: 118
Joined: Fri Jul 15, 2011 9:59 am

Re: Tooltip going off screen

Postby hfrntt » Thu Apr 12, 2012 6:31 pm

I understood you and I wrote that it's a known, unresolved issue :) Anyway, as a workaround you can use html tooltip, see: http://jsfiddle.net/pDD7c/46/
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am

Re: Tooltip going off screen

Postby trinhthanhdung » Fri Apr 13, 2012 4:51 am

hfrntt wrote:I understood you and I wrote that it's a known, unresolved issue :) Anyway, as a workaround you can use html tooltip, see: http://jsfiddle.net/pDD7c/46/

Thanks for your answer
I have a solution for that, useHTML = true, and set style for div
Like link http://jsfiddle.net/boykocodon/pDCnd/
I post here for anyone who don't know that.
Thanks again !
trinhthanhdung
 
Posts: 118
Joined: Fri Jul 15, 2011 9:59 am

Previous

Return to Highstock Usage

Who is online

Users browsing this forum: No registered users and 2 guests