I am dealing with a Highcharts graph that has tooltips showing a loading spinner upon hover. These tooltips fetch data from the server via AJAX, but when the content is updated, it overflows due to the tooltip not resizing. Below is the SCSS code snippet I am using:
.highcharts-tooltip {
width: auto !important;
height: auto !important;
span {
width: auto !important;
height: auto !important;
}
}
My question is, is there a way, either through settings, API functions, or CSS, to automatically resize the tooltip when the content changes or trigger a redraw? Alternatively, is there a specific CSS solution that can address this issue?
Please note that I am able to manually set the size of the tooltip by adjusting the height/width of the span
element mentioned above.