Skip to content

Commit

Permalink
add to documentation - Keep the wp name but remove the coloured bar, f…
Browse files Browse the repository at this point in the history
…ixes #42
  • Loading branch information
giocomai committed Jul 17, 2023
1 parent a3030de commit 6d647bd
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ ganttrify(project = ganttrify::test_project,
hide_wp = TRUE,
font_family = "Roboto Condensed")
```
Or perhaps, you did want to keep the name of working package on the left, but just felt that the horizontal line for the WP is redundant? Let's make the WP lines invisible, and nobody will ever know they're there!

```{r gantt_no_wp_with_title}
ganttrify(project = ganttrify::test_project,
alpha_wp = 0,
font_family = "Roboto Condensed")
```

I felt that rounded line endings for the working packages, and "butt" ending for activities is the best combination of elegance and clarity.

Expand Down
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,18 @@ ganttrify(project = ganttrify::test_project,
font_family = "Roboto Condensed")
```

<img src="man/figures/README-gantt_no_wp-1.png" width="100%" />
<img src="man/figures/README-gantt_no_wp-1.png" width="100%" /> Or
perhaps, you did want to keep the name of working package on the left,
but just felt that the horizontal line for the WP is redundant? Let’s
make the WP lines invisible, and nobody will ever know they’re there!

``` r
ganttrify(project = ganttrify::test_project,
alpha_wp = 0,
font_family = "Roboto Condensed")
```

<img src="man/figures/README-gantt_no_wp_with_title-1.png" width="100%" />

I felt that rounded line endings for the working packages, and “butt”
ending for activities is the best combination of elegance and clarity.
Expand Down Expand Up @@ -346,8 +357,12 @@ shiny_ganttrify()

And there you go!

![A screenshot of the Shiny
app](man/figures/shiny_ganttrify_screenshot.png)
<figure>
<img src="man/figures/shiny_ganttrify_screenshot.png"
alt="A screenshot of the Shiny app" />
<figcaption aria-hidden="true">A screenshot of the Shiny
app</figcaption>
</figure>

You can check it online with no further ado at the following link:

Expand Down
Binary file modified man/figures/README-gantt_no_wp-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6d647bd

Please sign in to comment.