Skip to content
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

st_echarts events function unable to reference chart object #48

Open
shu-toz opened this issue Jan 23, 2023 · 1 comment
Open

st_echarts events function unable to reference chart object #48

shu-toz opened this issue Jan 23, 2023 · 1 comment

Comments

@shu-toz
Copy link

shu-toz commented Jan 23, 2023

I'm having some trouble referencing the axisareaselected event: axis area selected
I wanted to get access to the parallel chart selections and return it to streamlit for further filtering.
But I am unable to reference the chart object.

How does the js function get mapped? you declare myChart. but I am unable to reference that either
image

@shu-toz
Copy link
Author

shu-toz commented Jan 23, 2023

Following on from the forum post streamlit forums
when I tried to implement the functions params.data function and I was getting an undefined. So it seems the events does not output that information unfortunately...
image

When I log just the params, the only accessible data included here is type, ID and Intervals. Unfortunately no data or series.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant