Closed cbud closed 3 years ago
You mean, like this?
library("ganttrify")
library("ggplot2")
ganttrify(project = ganttrify::test_project,
spots = ganttrify::test_spots,
project_start_date = "2020-03") +
theme(axis.text.y = element_text(hjust = 0))
Created on 2021-03-16 by the reprex package (v1.0.0)
The output graph is a ggplot2 object, even if with some unusual features, so some theming options from ggplot just work.
I will consider adding this as a parameter.
Here it is:
library("ganttrify")
ganttrify(project = ganttrify::test_project,
spots = ganttrify::test_spots,
project_start_date = "2021-04",
axis_text_align = "left")
Created on 2021-03-19 by the reprex package (v1.0.0)
Thanks!
On Fri, 19 Mar 2021, 11:04 pm Giorgio Comai, @.***> wrote:
Closed #17 https://github.com/giocomai/ganttrify/issues/17 via 4a400d9 https://github.com/giocomai/ganttrify/commit/4a400d909d6f76845e9cb4d262f14538b794dc0e .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/giocomai/ganttrify/issues/17#event-4481235058, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF5PUHGEYEB2UOT2O6YXDDTEMOT3ANCNFSM4ZHSILFQ .
Any idea how to left justify activities?