giocomai / ganttrify

Create beautiful Gantt charts with ggplot2
https://ganttrify.europeandatajournalism.eu/
GNU General Public License v3.0
654 stars 61 forks source link

Add alpha and line_end options #18

Closed wanjam closed 3 years ago

wanjam commented 3 years ago

Thanks for your great package! For my personal usage, I added arguments for line-endings and transparency (see attached plot for an example). Default behavior should stay the same, though I only looked at the R-usage, not at the shiny app. Opening a pull request here as a suggestion to integrate these features.

ganttrify(project = ganttrify::test_project,
                      alpha_wp = 0.9, alpha_activity = 0.6,
                      line_end = "butt")

alpha_gantt

giocomai commented 3 years ago

Thanks, looks good, merging. I still plan to rewrite the whole thing to make it more robust to a broader range of situations, but until that glorious day comes, non-breaking changes are all good. Cheers!