I want to view Tooltip in Highcharts without mouseover

Asked 2 years ago, Updated 2 years ago, 95 views

I'd like to ask for your advice on Tooltip for Highcharts. I'm displaying a graph of scatter, but there are almost 200 points.
It's hard to see what's going on at first glance.
Tooltip is displayed, so if you look for it, you can find it, but if you look at the graph,

so that you can see the location of the point you want to see right away. For example, is it possible to always display Tooltip for one point?

Thank you for your cooperation.

javascript highcharts

2022-09-30 14:29

1 Answers

It is possible by configuring the chart.event.render method to display the tooltip for a specific point.

Highcharts.chart('container3',{
chart: {
    type: 'line',
    events: {
        // Immediate Graph Drawing Processing
        render: function() {
            // View tooltips for specific data points
            varp = this.series[0].points[3];
            This.tooltip.refresh(p);
        }
    }
}, //...

For more information, visit the Highcharts Maniacs site.


2022-09-30 14:29

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.