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

access to chart object after chart is generated #16

Open
nbbn opened this issue Jun 10, 2019 · 1 comment
Open

access to chart object after chart is generated #16

nbbn opened this issue Jun 10, 2019 · 1 comment

Comments

@nbbn
Copy link

nbbn commented Jun 10, 2019

Hi,
first of all thanks for packing this library into htmlwidgets.
I created chart in shiny, however I would like to update it dynamically.
I'm thinking about executing custom JS code from Shiny, however I cannot access object of chart to run some of its methods.
Do you provide any update methods or access to chart's objects?
Can you share some docs about it, if it's available?
Thanks again!

@mrjoh3
Copy link
Owner

mrjoh3 commented Jun 10, 2019

This is not really possible at the moment.

But in shiny if you render your chart inside an observe() or observeEvent() function the chart will re-render dynamically. In most cases this might be enough.

What chart methods were you hoping to access?

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

2 participants