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

The line chart can not be render by this type of table #53

Closed UOTLeop closed 6 years ago

UOTLeop commented 6 years ago

screen shot 2017-11-23 at 11 14 10 am When I try to draw a bar chart using this data frame, it shows error in google console and do not return any image to the UI

UOTLeop commented 6 years ago

screen shot 2017-11-23 at 11 18 21 am

UOTLeop commented 6 years ago

I gradually find that the bug will happen whenever I have data more than seven rows. Which means that when I cut the table to be 7 rows, then it works fine. Could you plz give me suggestion to fix that.

XD-DENG commented 6 years ago

Hi @UOTLeop , Thanks for using this package and your feedback ;-)

Issue Reason

The issue arose because of the single quotation mark ' in your row.names. That's also why you only saw error starting from the 8th row in your data.

Suggested Solution

Change JUNIOR'S SHOES to JUNIORS SHOES

Please let me know if this solution works. Please also let me know if you any any further clarification. Thanks!