Skip to content

Commit

Permalink
Add sections on horizontal scrolling and hiding filters
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed Dec 19, 2023
1 parent b4d6d38 commit 33a1e82
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions vignettes/layout.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ outdata |>
ae_forestly(width = 1000)
```

# Horizontal scrolling

Set `ae_forestly(..., width = NULL)` to make the element scrollable horizontally.
This is particularly useful when embedding the plot in pages with responsive
design, using frameworks such as Bootstrap.

# Change variable listed in drill-down table

Users can explore AE listing by clicking $\blacktriangleright$ of each row
Expand All @@ -121,3 +127,16 @@ metadata |>
format_ae_forestly() |>
ae_forestly()
```

# Hide filters

You can use simple CSS rules to hide the incidence rate filter element.
For example, in an R Markdown document, use:

````{verbatim, lang="css"}
```{css, echo=FALSE}
#filter_subject {
display: none;
}
```
````

0 comments on commit 33a1e82

Please sign in to comment.