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
130 stars 47 forks source link

Issues and suggestions #67

Open OrsonDeWitt opened 1 year ago

OrsonDeWitt commented 1 year ago

Hello, Thanks for the great package, I love how slick it is, and how easy it is to work with. I have a few roadblocks that I've encountered while trying to work it, though.

  1. In line charts, is it possible to toggle off one of the lines by default?
  2. I can't find any way to edit tooltips on hover. For example, I am working with a stacked percentage bar chart, and have two columns that I'm plotting with: % complete and % incomplete. When the % complete is 100, I do not want "% incomplete: 0" to show. Additionally, I would like to show other information in the tooltip as well.
  3. I am not getting any warnings, but ECharts does not plot bar charts when there is more than 10 items, and does not plot pie charts when there is more than 30 items. Is there any hard limitation to this or would it be possible to extend charts to more items?
  4. "Theme" does not seem to do anything. I've tried with macarons, London, vintage, etc.
    renderBarChart(div_id = "chartBar",
                     direction = "horizontal", grid_left = "10%",
                     stack_plot = TRUE,
                     data = dat_2, 
                     theme = "shine")
  5. Also, I would like to disable some of the tools in the tool panel, but currently I can only disable the whole tool panel.
  6. And finally, would it be possible to add functionality for adding a background image to the plots? Thanks!