Open Camil88 opened 3 years ago
Sorry. not sure what is happening here either. I don't think it's a bug though. I'll try to investigate further.
I've noticed that grouping by column added further as bind
solves the problem. I binded by origin
and needed to group by origin
as well. Then the chart does not disappear:
output$plot <- renderEcharts4r({
airports() %>%
group_by(origin) %>%
e_charts(temp) %>%
e_scatter(dewp, humid, bind = origin) %>%
Ah thanks for this and sorry for the trouble, I'll try to understand what happens exactly!
Hello, I created
e_scatter
chart which is dynamically changing based on user choice in dropdown input. The issue is that when I 'deselect all' choices in dropdown list then chart disappears from screen and 'index out of scope' error comes up (on a screen and in R console). It's interesting that when I run the app for the first time then I can see the same error in R console, however chart renders on a screen. When I do the same withe_bar
then everything's ok, the problem is withe_scatter
. Here is reproducible example: