highslide-software/highcharts.com — Issue #557: Exporting yeilds Uncaught TypeError: Cannot call method 'getExtremes' of undefined
Author: cr125rider
Created: 2011-11-08 15:11:09+00:00
State: open

I have a chart that loads more fine data on demand. For example at closer zoom levels it loads more fine points from the database to plot. This uses the xAxis setExtremes event to trigger size changes. This may be the culprit, but I cant reproduce this in an example because it is using server side scripts to load new data. All of that functionality works just fine. Exporting the chart used to work but now it seems there is an issue.

Here is an output from Chrome 15.0.8 of what happens when I select any of the options from the export menu:

Uncaught TypeError: Cannot call method 'getExtremes' of undefined
Series.processDatahighstock.src.js:10096
seriesProto.processDatahighstock.src.js:12654
seriesProto.processDatahighstock.src.js:14843
Series.translatehighstock.src.js:10198
(anonymous function)highstock.src.js:8886
eachhighstock.src.js:936
renderhighstock.src.js:8885
firstRenderhighstock.src.js:9089
Charthighstock.src.js:9189
o.getSVGexporting.js:13
o.exportChartexporting.js:15
v.exporting.buttons.exportButton.menuItems.onclickexporting.js:11
o.contextMenu.lexporting.js:18

Hopefully that helps, I'll keep trying to reproduce.