Open awcm0n opened 1 year ago
Error bars are displayed incorrectly after flipping the coordinates.
df <- data.frame( x = factor(c(1, 2)), y = c(1, 5), upper = c(1.1, 5.3), lower = c(0.8, 4.6) ) df |> e_charts(x) |> e_bar(y) |> e_error_bar(lower, upper) |> e_flip_coords()
relates to #478
Can look into it but I suspect it's a bit difficult to do, e_flip_coords is not part of echarts.js, it's a bit of a trick in R switching x/y variables in the dataset
e_flip_coords
Error bars are displayed incorrectly after flipping the coordinates.