reactjs / react-chartjs

common react charting components using chart.js
MIT License
2.93k stars 299 forks source link

Using the `responsive: true` true option causes errors #9

Closed lukebrooker closed 9 years ago

lukebrooker commented 9 years ago

Specifically:

Uncaught TypeError: Illegal invocation

helpers.cancelAnimFrame.call(root, this.animationFrame);

In the Chart.js library itself. I have an idea of why this is happening, but I am still a little too early to react to work it out.

jhudson8 commented 9 years ago

FWIW, react-chartjs is just a very light wrapper around the chartjs lib. You don't have enough detail here for me to be able to respond here. Can you either provide more meaningful details for close this out?

jonespen commented 9 years ago

I also get this (using webpack), guess its related to this https://github.com/nnnick/Chart.js/pull/918

jhudson8 commented 9 years ago

I'm closing the issue here since it is not a react-chartjs issue but rather a chartjs issue. nothing I can do about it...

lukebrooker commented 9 years ago

Thanks, that was the issue that @jonespen mentioned.