You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That problem was very discussed in issue geom_vline messes up geom_line legend, if show_guide = TRUE, but a similar problem still happen, as was mentioned by rdcominer in this comment, when both hline and vline are in the same plot. The legend of that plot, regarding hline and vline will be overlapping.
If is possible, would be nice to allow both hline and vline in the same plot, with a horizontal line in hline legend, and a vertical line in vline legend.
The text was updated successfully, but these errors were encountered:
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
lockbot
locked and limited conversation to collaborators
Oct 24, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
That problem was very discussed in issue geom_vline messes up geom_line legend, if show_guide = TRUE, but a similar problem still happen, as was mentioned by rdcominer in this comment, when both hline and vline are in the same plot. The legend of that plot, regarding hline and vline will be overlapping.
Here's are the examples:
Both legends are shown (vline and hline) which procude the cross effect
I tried to use show.legend = FALSE in one of them, to see what happens, but ggplot2 preserve the pattern of another one in both legends.
Then the next example, show us only geom_vline legend which preserves the vline pattern in legends
The next one, the only geom_hline legend is shown which preserve the hline pattern in legends
If is possible, would be nice to allow both hline and vline in the same plot, with a horizontal line in hline legend, and a vertical line in vline legend.
The text was updated successfully, but these errors were encountered: