Open MarcSkovMadsen opened 20 hours ago
My spec was from exporting the current chart. It was a dict
in Python. I have to provide it as an Array in React:
<GraphicWalker
...
chart=[spec]
/>
This was not very clear for two reasons
chart
is not in the API props docs: https://github.com/Kanaries/graphic-walker#propsspec
confused me. It told me to try to use storeRef
- which is not documented either.What helped me was chart
usage in https://graphic-walker.kanaries.net/examples/Graphic_Walker_In_a_Modal and chatGPT.
I would like to set the initial spec. The docs says
I do not understand how to use this and cannot find any examples. Please provide.
I would like to be able to use it to finalize the PR https://github.com/panel-extensions/panel-graphic-walker/pull/27.