Daria
Daria

Reputation: 861

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.

Upvotes: 4

Views: 6059

Answers (2)

Mark
Mark

Reputation: 108512

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.

Upvotes: 8

Sebastian Bochan
Sebastian Bochan

Reputation: 37578

Defaulty it is not available in the highcharts, but maybe better is using flags

Upvotes: 2

Related Questions