Skip to content
New issue

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

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

Already on GitHub? # to your account

Boxplot with groups showing name of column instead of group #231

Closed
barveaditya opened this issue Nov 16, 2020 · 6 comments
Closed

Boxplot with groups showing name of column instead of group #231

barveaditya opened this issue Nov 16, 2020 · 6 comments

Comments

@barveaditya
Copy link

barveaditya commented Nov 16, 2020

df <- data.frame(
x = c(
rnorm(100),
runif(100, -5, 10),
rnorm(100, 10, 3)
),
grp = c(
rep(LETTERS[1], 100),
rep(LETTERS[2], 100),
rep(LETTERS[3], 100)
)
)

df %>%
group_by(grp) %>%
e_charts() %>%
e_boxplot(x)

This example from your page creates three boxplots title 'x' on the x-axis rather than name of groups. please fix.
Screenshot 2020-11-16 at 16 15 36

@JohnCoene
Copy link
Owner

Yes, that was fixed here #219 (comment)

Make sure you're on the latest version

@barveaditya
Copy link
Author

@JohnCoene - for some weird reason, no joy.
Screenshot 2020-11-17 at 09 22 16

@JohnCoene
Copy link
Owner

Can you restart your R session after the install and try again please?

@barveaditya
Copy link
Author

@JohnCoene thank you... that worked!! What exactly happened there?

@lianos
Copy link

lianos commented Nov 17, 2020

You downloaded and installed a new version of echarts4r, but you still had the previous version loaded in your workspace.

@JohnCoene
Copy link
Owner

Yes indeed. library does not reload if the package is already in the environment.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants