bind_draw_the_line_data: Bind draw the line chart data

View source: R/bind_draw_the_line_data.R

bind_draw_the_line_dataR Documentation

Bind draw the line chart data

Description

Bind draw the line chart data

Usage

bind_draw_the_line_data(
  .,
  data = NULL,
  x = NULL,
  lines_reveal = NULL,
  lines_fixed = NULL
)

Arguments

.

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

Value

A Flourish chart

Examples

try(
  flourish(chart_type = "draw_the_line", api_key = Sys.getenv("FLOURISH_API_KEY")) |> 
  bind_draw_the_line_data(gapminder)
)

flourishcharts documentation built on Oct. 30, 2024, 9:07 a.m.