Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highcharts. Make tooltip of a specific point always visible

I need to make tooltip of some point make visible without moving mouse over the point. Say, I load my chart and have some tooltips already visible. Thanks for any help.

like image 531
Daria Avatar asked Jan 09 '23 05:01

Daria


1 Answers

If you want the tooltip to show automatically on a point on load:

    chart: {
        events: {
            load: function(){
                // show tooltip on 4th point
                var p = this.series[0].points[3];
                this.tooltip.refresh(p);  
            }
        }
    },

Here's a fiddle.

like image 130
Mark Avatar answered Mar 15 '23 22:03

Mark