giocomai / ganttrify

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

start_time #16

Closed jibanes closed 3 years ago

jibanes commented 3 years ago

Please see the enclosed picture, what do you think is the reason why start_date is displayed under the chart? timechart

giocomai commented 3 years ago

Thanks for pointing this out, it's a regression introduced when fixing a recent issue.

Also consider that you may want to customise how many years you see on the x-axis, with something like:

library("ganttrify")
library("ggplot2")
ganttrify(project = ganttrify::test_project,
          month_number_label = FALSE,
          month_date_label = FALSE) +
  scale_x_date(name = "", breaks = scales::pretty_breaks(n = 10))