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
Hi and thanks for such an excellent package. The question I have is related to adding custom elements to the chart using annotate, geom_text or geom_segment to produce something like this:
This hack used to work well in R4.3 but not in R4.4, where in the latter, these custom elements cannot find their correct position on y-axis anymore:
Hi and thanks for such an excellent package. The question I have is related to adding custom elements to the chart using
annotate
,geom_text
orgeom_segment
to produce something like this:This hack used to work well in R4.3 but not in R4.4, where in the latter, these custom elements cannot find their correct position on y-axis anymore:
ganttrify(project=ganttrify::test_project) + geom_text(aes(x=as.Date("2025-02-01"), y=ganttrify::test_project$activity[1], label="text"))
or
ganttrify(project=ganttrify::test_project) + annotate("text", x=as.Date("2025-02-01"), y=ganttrify::test_project$activity[1], label="label")
Is this by design or can this possibly be fixed?
The text was updated successfully, but these errors were encountered: