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

increase tooltip width for trellis chart

Fri May 13, 2022 5:28 pm

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 24 times

mateusz.b
Posts: 1906
Joined: Tue Jul 13, 2021 11:34 am

Re: increase tooltip width for trellis chart

Mon May 16, 2022 6:17 am

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”