Nishith Kant Chaturvedi
Nishith Kant Chaturvedi

Reputation: 4769

multiple pane in highstock has issues with scrollbar

I am trying to have 3 or more panes in highstock chart but facing an issue with scrollbar. The scrollbar is in sync with the first chart only and it's not in sync with the rest of the two charts. here is the fiddle.

Can anyone help me point to a right way of doing this?

Upvotes: 1

Views: 388

Answers (1)

Raein Hashemi
Raein Hashemi

Reputation: 3384

You should change $('#container').highcharts('StockChart', { with window.chart = new Highcharts.StockChart({ so that you have the chart object, then add:

window.chart.addSeries({
        name : "",
        xAxis: 0,
        yAxis: 3,
        type: "line",
        enableMouseTracking: false,
        data :[your data],
        showInLegend:false
    });

yAxis 3 is the yAxis of the navigator. You can add as many series as you want - DEMO

Upvotes: 1

Related Questions