Skip to content

Boxplot grouping #163

@matthias-a

Description

@matthias-a

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions