Make `middle` optional aesthetic in `geom_boxplot()`.
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 7k
- Forks
- 2.1k
- Avg merge
- 59m
- Merged PRs (30d)
- 2
Description
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").
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the geom_boxplot() and geom_crossbar() entry points and inspect how their required aesthetics are declared. Done means middle is optional for geom_boxplot() and geom_crossbar() accepts either x or y as required, with the existing behavior otherwise preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100