You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand x_axis should always be categorical but perhaps we could put in class check i.e. is.character or is.factor in e_flip_coords to force an error, instead of silently generating an incorrect chart? Thank you for this great package!
With non-categorical x-axis
df<-data.frame(
x=1:12# e.g. typically for months in integer
,y= runif(12)
)
df %>%
e_charts(x) %>%
e_bar(y) %>%
e_flip_coords()
I understand x_axis should always be categorical but perhaps we could put in class check i.e.
is.character
oris.factor
ine_flip_coords
to force an error, instead of silently generating an incorrect chart? Thank you for this great package!With non-categorical x-axis
With x-axis turned into factor
The text was updated successfully, but these errors were encountered: