giocomai / ganttrify

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

Keep the wp name but remove the coloured bar on the gannt chart #42

Closed daniellenewby closed 1 year ago

daniellenewby commented 1 year ago

Hi, this package looks just what i need but i would really like to check if it is possible to keep the wp name but remove the bar on the gannt chart itself? I have attached a screenshot of what i mean below. Thanks! Gannt_chart

giocomai commented 1 year ago

You can achieve this by setting the transparency of the WP to zero, like this.

library("ganttrify")

ganttrify(project = ganttrify::test_project,
          alpha_wp = 0)

Created on 2023-05-18 with reprex v2.0.2

Is this what you had in mind? Proceed to close the issue if it is.

giocomai commented 1 year ago

Or rather, let's keep this open as a reminder to add this to the documentation, as it's probably a good idea to include this in the readme.

daniellenewby commented 1 year ago

Thank you for the quick response! :) This is exactly what i need thank you!