You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you very much for the project! (And plotly.js, and the docs, and the team for helping on these projects, and all other contributors as well! And anyone else note mentioned!)
For the react component, by 2020 standards, I don't consider the current state of this project to be a "lite" react wrapper. I wanted to provide this for inspiration purposes.
Hi, thank you very much for the project! (And plotly.js, and the docs, and the team for helping on these projects, and all other contributors as well! And anyone else note mentioned!)
For the react component, by 2020 standards, I don't consider the current state of this project to be a "lite" react wrapper. I wanted to provide this for inspiration purposes.
Gist: https://gist.github.com/tony/f0938e379aef3c49648a2b1b63e00807
Sandbox: https://codesandbox.io/s/react-plotlyjs-minimal-c6k7f
yarn add -D @types/plotly.js
/npm install --save-dev @types/plotly.js
yarn add plotly.js
/npm install --save-dev plotly.js
custom.d.ts
Notes
I removed
useResponsiveHandler
since there'sconfig = {{ responsive: true }}
as of add support for responsive charts plotly.js#2974 / Sep 7, 2018 / v1.41.0 / plotly/plotly.js@cfc720bIf you want support for it, you do this:
Sandbox: https://codesandbox.io/s/react-plotlyjs-minimal-c6k7f
There's an unrelated issue with plotly.js and
document
on codesandbox: Native ES6 modules vs. the bundle plotly.js#3518 (comment))The text was updated successfully, but these errors were encountered: