mrjoh3 / c3

c3 HTMLWidget Ploting
39 stars 51 forks source link

access to chart object after chart is generated #16

Open nbbn opened 5 years ago

nbbn commented 5 years ago

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 commented 5 years ago

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?