echarts4r icon indicating copy to clipboard operation
echarts4r copied to clipboard

error bar with flip coords floats elsewhere

Open barveaditya opened this issue 4 years ago • 4 comments

echarts

as you can see above, the error bars seem disjointed. I generated this figure from : df %>% e_charts(x) %>% e_scatter(y, symbol_size = 10) %>% e_error_bar(lower = lower, upper = upper, hwidth = 1) %>% e_flip_coords() %>% e_toolbox_feature(feature = "saveAsImage")

the same issue occurs with fliiped error bars as well df %>% e_charts(x) %>% e_bar(y) %>% e_error_bar(lower = lower, upper = upper) %>% e_flip_coords()

barveaditya avatar Jan 05 '21 16:01 barveaditya

Can you add the code for df, please?

etiennebacher avatar Jan 05 '21 18:01 etiennebacher

Yes, unfortunately error bars does not work with flipped coordinates.

Error bars are not out-of-the-box ECharts.js, it's a custom geom and difficult to adapt. I'll mark this as a potential improvement but it's honestly unlikely to ever work with flipped coordinates. Apologies.

JohnCoene avatar Jan 05 '21 18:01 JohnCoene

duplicate of #153

helgasoft avatar Jan 05 '21 23:01 helgasoft