Replies: 2 comments
Can you add some code example so I can better understand what you have tried and what you want. You can use codesandbox |
0 replies
|
Not sure if you are calling the plot on a useEffect. You need to wait till the component is rendered to use the div id. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have a React SPA app. At one page I have a component and inside it
when call inside component dataframe.plot("plot_div").bar({ layout, config}); it is pointing to parent of the component (page where component is laying) not that expected inside component.
Is there something misunderstandig for me or what is doing wrong?
Br. Timo
All reactions