score:1

Accepted answer

You only need to add another annotation:

    annotations: [{
        ..., 
    {
        ...
    }],

And improve the syncAnnotations function a little bit:

    function syncAnnotations(e) {
        var thisChart = this.chart;
        var newX = this.options.shapes[0].points[0].x
        var index = this.chart.annotations.indexOf(this);

        if (e.type !== 'afterUpdate') {
            Highcharts.each(Highcharts.charts, function(chart) {
                if (chart !== thisChart) {
                    chart.annotations[index].update({
                        ...
                    });
                }
            });
        }
    }

Live demo: https://jsfiddle.net/BlackLabel/jwtLc379/

API Reference: https://api.highcharts.com/highcharts/annotations


Related Query

More Query from same tag