Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

How can I get the key labels in legend match with the end values in a geom_line without manually typing them since there are 12 different lines?

$
0
0

I tried scale_x_continous and guides(fill=guide_legend) but can't get it to work. The legend need to match the end order of the lines which end in the year 2016. So: Action, Role-Playing or a pink line which isn't really visible..

enter image description here


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>