Join GitHub today
Heatmap + boost-canvas = crash (point.series.pointAttribs is not a function) #6706
I am using Highcharts (styled version) with Heatmap, and I am trying to add boost.js and boost-canvas.js to the page.
Adding boost-canvas.js on top of boost.js should make the chart to render faster even when boost.js cannot be used (webgl not available, for example in a linux remote session).
The page crashes with the following error:
Live demo with steps to reproduce
In order to trigger the issue you need to disable webgl, you can do so by using chromium with the command line option --disable-gpu, or by running chrome or chromium on linux through a remote x session (with xrdp for example).
It's the combination of both boost.js and boost-canvas.js what produces this issue, adding just one or the other does not.
Chrome 58 64 bit on linux ubuntu 16.04
Related issue (same problem but related to boost.js): #6650
At line 126 in boost-canvas.js, change this:
The fix was taken from this commit:
Even when I have a fix, I would prefer to see it included in an official release rather than relying on local patches on my end.