e_color_range: Color range

View source: R/helpers.R

e_color_rangeR Documentation

Color range

Description

Build manual color range

Usage

e_color_range(
  data,
  input,
  output,
  colors = c("#bf444c", "#d88273", "#f6efa6"),
  ...
)

e_color_range_(
  data,
  input,
  output,
  colors = c("#bf444c", "#d88273", "#f6efa6"),
  ...
)

Arguments

data

Data.frame in which to find column names.

input, output

Input and output columns.

colors

Colors to pass to colorRampPalette.

...

Any other argument to pass to colorRampPalette.

Examples

df <- data.frame(val = 1:10)

e_color_range(df, val, colors)

JohnCoene/echarts4 documentation built on Feb. 23, 2024, 9:18 a.m.