XD-DENG / ECharts2Shiny

To insert interactive charts from ECharts into R Shiny applications (在R Shiny app中插入ECharts可交互图形)
https://CRAN.R-project.org/package=ECharts2Shiny
GNU General Public License v2.0
129 stars 47 forks source link

how to use connect option? #43

Closed exitNA closed 7 years ago

exitNA commented 7 years ago

the echarts has connect options which can connect multi plot, does Echarts2Shiny support this feature?

XD-DENG commented 7 years ago

Hi, may you provide an example of the connect option in JavaScript? Or can you find it in the list of the offical examples http://echarts.baidu.com/examples.html and let me know the URL?

Thanks.

XD-DENG commented 7 years ago

Not sure whether you mean the feature in this example? http://echarts.baidu.com/echarts2/doc/example/mix8.html

If yes, unfortunately, ECharts2Shiny doesn't support this option. But you can implement some similar chart with the widget provided by Shiny, which is also a more R language way.

exitNA commented 7 years ago

hi: this is the link http://echarts.baidu.com/api.html#echarts.connect of the connect.

XD-DENG commented 7 years ago

Hi,

Sorry this feature is not supported in the current version.

But your need can be solved if you use the same data.frame for different charts, so that all the charts will be updated concurrently if the data source is changed.

Please let me know if you need an example for this. Thanks.