Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extent / change color pallet #19

Closed
nise opened this issue Jun 1, 2021 · 2 comments
Closed

Extent / change color pallet #19

nise opened this issue Jun 1, 2021 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@nise
Copy link

nise commented Jun 1, 2021

Could you describe how to change the color pallet in use.

For more then 5 work packages the colors are repeating.

@giocomai
Copy link
Owner

giocomai commented Jun 1, 2021

Yes, this is the prupose of the colour_palette parameter. You can pass a palette, or simply a character vector with hex of as many colours as you like, e.g. (colours at random):

ganttrify(project = ganttrify::test_project,
          colour_palette = c("#6ACCEA",
                             "#00FFB8",
                             "#B90000",
                             "#6C919C",
                             "#94A1A4",
                             "#6ACCEA",
                             "#67AEC3",
                             "#9ACEDE"))

@nise
Copy link
Author

nise commented Jun 1, 2021

Thanx! I found it finally in the R code. Maybe you could add a list of properties with defaults and example in the readme

@giocomai giocomai self-assigned this Apr 20, 2023
@giocomai giocomai added the documentation Improvements or additions to documentation label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants