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

geom_curve does not use lineend #1852

Closed
Ax3man opened this issue Oct 14, 2016 · 0 comments
Closed

geom_curve does not use lineend #1852

Ax3man opened this issue Oct 14, 2016 · 0 comments
Assignees
Labels
bug an unexpected problem or unintended behavior
Milestone

Comments

@Ax3man
Copy link
Contributor

Ax3man commented Oct 14, 2016

According to the documentation, lineend is a valid parameter for both geom_segment and geom_curve, but geom_curve does not change depending on lineend. This is true for both the CRAN version and the current dev version. Reprex:

ggplot(mapping = aes(x = x1, xend = x2, y = y, yend = y)) +
  geom_curve(data = data.frame(x1 = 0, x2 = 1, y = 0), size = 4, curvature = -1,
             lineend = 'round') +
  geom_curve(data = data.frame(x1 = 1.5, x2 = 2.5, y = 0), size = 4, curvature = -1,
             lineend = 'butt') +
  geom_curve(data = data.frame(x1 = 3, x2 = 4, y = 0), size = 4, curvature = -1,
             lineend = 'square') +
  ylim(0, 1)

rplot03

@hadley hadley added the feature a feature request or enhancement label Oct 14, 2016
@hadley hadley added this to the v2.2.0 milestone Oct 14, 2016
@hadley hadley self-assigned this Oct 14, 2016
@hadley hadley added bug an unexpected problem or unintended behavior and removed feature a feature request or enhancement labels Oct 14, 2016
@hadley hadley closed this as completed in 1709196 Oct 14, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants