Skip to content

Make middle optional aesthetic in geom_boxplot(). #6780

@teunbrand

Description

@teunbrand

So that you can easily construct the geometry for a candlestick chart, which looks like a boxplot box-and-whiskers, but without the median line (and without outliers). A true candlestick chart would require a specialty stat, which I'm not proposing to implement in ggplot2. I'm just proposing to remove a constraint.

By extension, geom_crossbar() should get "x|y" as required aesthetic, instead of c("x", "y").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions