View source: R/bind_draw_the_line_data.R
bind_draw_the_line_data | R Documentation |
Bind draw the line chart data
bind_draw_the_line_data(
.,
data = NULL,
x = NULL,
lines_reveal = NULL,
lines_fixed = NULL
)
. |
The prior Flourish object. No need to specify name if piping graph as the graph will take the first argument (i.e. the prior existing graph). |
data |
Data. |
x |
Time (x axis). Labels for the X axis. Flourish type hint: column |
lines_reveal |
Lines reveal |
lines_fixed |
Lines fixed |
A Flourish chart
try(
flourish(chart_type = "draw_the_line", api_key = Sys.getenv("FLOURISH_API_KEY")) |>
bind_draw_the_line_data(gapminder)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.