make_serie: Make Serie

Description Usage Arguments

View source: R/utils.R

Description

Make Chart.js series from aesthetics and data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
make_serie(
  main_caes,
  main_data,
  data = NULL,
  inherit_caes = TRUE,
  type = "line",
  label = NULL,
  ...,
  valid_caes = ALL_CAES,
  x_as_list = FALSE
)

Arguments

main_caes

Main aesthetics.

main_data, data

Data.frames.

inherit_caes

Whether aethetics are inherited.

type

Type of serie to make.

label

Serie label.

...

Addiitonal options and aesthetics.

valid_caes

Valid aesthetics to keep on final plot.

x_as_list

Whether to plot each x as a sublist.


JohnCoene/charter documentation built on Feb. 20, 2022, 11:07 p.m.