Python: Read data from Highcharts after setExtreme

I am trying to execute your code on Highcharts demo page
The problem is with xAxis[0], xAxis is not an array but a dictionary, so you must supply a string value there inside those [].

check xAxis in the docs
I am guessing you’re looking for xAxis.events.setExtremes

Edit

I see now that xAxis can be an array, but you’re most likely missing those events so my solution should be changed to xAxis[0].events.setExtremes

Leave a Comment