anu_1555
Posts: 47
Joined: Sun Nov 28, 2021 8:45 am

increase tooltip width for trellis chart

Hi,

I am trying to build trellis bar chart and ran into a situation where I couldn't able to increase the tooltip width beyond trellis column width.I want to increase the tooltip width if there is extra content and its ok if the tooltip overlaps with the next column.

here is the jsfiddle link: http://jsfiddle.net/akezxftm/6/

In the above link,if the tooltip content is more(for the second column), the tooltip height seems to be increasing(width is not increasing beyond single column width). Could you pls help me in increasing the tooltip width ? Also attaching the screenshot below
Attachments
trellis.PNG
trellis.PNG (26.88 KiB) Viewed 171 times
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: increase tooltip width for trellis chart

Hi anu_1555,

Thanks for contacting us with your question.

In this case you should use outside property and adjust tooltip width.
Demo: http://jsfiddle.net/BlackLabel/618ws3qc/
API reference: https://api.highcharts.com/highcharts/tooltip.outside

Let me know if it was what you were looking for.
Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Usage”