score:1

Accepted answer

Yes, you need to only connect setting extremes process in charts, for example:

const chart1 = Highcharts.stockChart('container', {
    ...
});

Highcharts.stockChart('container2', {
    ...,
    xAxis: {
        ...,
        events: {
            setExtremes: function(e) {
                chart1.xAxis[0].setExtremes(e.min, e.max, true, false);
            }
        }
    }
});

Live demo: http://jsfiddle.net/BlackLabel/v31roh8c/

API Reference: https://api.highcharts.com/class-reference/Highcharts.Axis#setExtremes


Related Articles