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

Boxplot grouping #163

Closed
matthias-a opened this issue Jun 15, 2020 · 1 comment
Closed

Boxplot grouping #163

matthias-a opened this issue Jun 15, 2020 · 1 comment

Comments

@matthias-a
Copy link

Hi there,

I wanted to use the boxplot example from your webpage, but i was not sure if the grouping feature works as expected:
grafik

For my case I wanted the x-axis to show the categories A, B and C with their corresponding boxplot.
I could not find a way to achieve it with the current functions, but when the coding in e_boxplot_ change from

# xaxis
e$x$opts$xAxis[[1]]$data <- append(e$x$opts$xAxis$data, list(nm))

to

# xaxis
e$x$opts$xAxis[[1]]$data <- append(e$x$opts$xAxis[[1]]$data, list(nm))

(line 1087 in echarts4r/R/add_.R)

one gets this:
grafik

Do you think this small change is correct or is there another way to do so?

JohnCoene added a commit that referenced this issue Jun 16, 2020
JohnCoene added a commit that referenced this issue Jun 16, 2020
@JohnCoene
Copy link
Owner

Thank you very much Matthias, both for identifying the issue and providing the fix. I have pushed that to Github!

This issue was closed.
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

2 participants