New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heatmap + boost = crash (point.series.pointAttribs is not a function) #6650

Closed
yoisel opened this Issue Apr 26, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@yoisel

yoisel commented Apr 26, 2017

I am using Highcharts (css version) with Heatmap, and I am trying to add boost.js to the page. I have several charts on my page and a few of them strongly need boost.js to work properly. With Heatmap, boost is not working.

Expected behaviour

Adding boost.js should make chart to render faster

Actual behaviour

The page now crashes with the following error:
Uncaught TypeError: point.series.pointAttribs is not a function
at https://github.highcharts.com/master/js/modules/boost.src.js:1185:22

You need to display the console (F12 in chrome) to see the error.

Live demo with steps to reproduce

https://jsfiddle.net/qhd5z723/8/

Removing boost.js from the page will make it to work again

Affected browser(s)

Reproducible under:

  • Chrome 58 64 bit on linux ubuntu 16.04
  • MS Edge on Windows 10 x64
  • Firefox 49.02 on Windows 10 x64

Possibly related: #6314

@yoisel

This comment has been minimized.

Show comment
Hide comment
@yoisel

yoisel May 1, 2017

@TorsteinHonsi The issue can still be reproduced by using boost-canvas.js fall-back when webgl is not available.

Example:
https://jsfiddle.net/63u7qtmk/3/

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 under linux through a remote x session (with xrdp for example).

It's the combination of both boost.js and boost-canvas.js what gave me the issue, adding just one or the other seems to work fine.

Let me know if you prefer that I enter this as a new bug

yoisel commented May 1, 2017

@TorsteinHonsi The issue can still be reproduced by using boost-canvas.js fall-back when webgl is not available.

Example:
https://jsfiddle.net/63u7qtmk/3/

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 under linux through a remote x session (with xrdp for example).

It's the combination of both boost.js and boost-canvas.js what gave me the issue, adding just one or the other seems to work fine.

Let me know if you prefer that I enter this as a new bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment