Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axis was not rendered correctly when distribution is very disperse. #27

Closed
happyshows opened this issue Sep 13, 2018 · 1 comment
Closed

Comments

@happyshows
Copy link

    src  %>% 
      mutate(cut = as.character(cut)) %>% 
      inner_join(bin, by='cut') %>% 
      e_charts(bin) %>% 
      e_bar(count, barWidth = 20, barGap = '100%') %>% 
      e_y_axis(type = 'value',name = '',splitLine = list(show=F), show = F) %>%
      e_x_axis(type = 'value',name = '',splitLine = list(show=F)) %>%
      e_tooltip() %>% 
      e_theme("walden") %>% 
      e_datazoom(x.index = 0) %>% e_toolbox_feature(feature = "restore")

image
image

@JohnCoene
Copy link
Owner

JohnCoene commented Sep 14, 2018

Can dput the data (src) so I can take a look? Axis work in a somewhat mysterious way.

EDIT You can check the source code of e_histogram, namely passing scale = TRUE in e_x_axis.

@munoztd0 munoztd0 closed this as completed Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants