hcspark: Shortcut to make spkarlines

Description Usage Arguments Examples

View source: R/hchart-shorcuts.R

Description

Shortcut to make spkarlines

Usage

1

Arguments

x

A numeric vector.

type

Type sparkline: line, bar, etc.

...

Additional arguments for the data series https://api.highcharts.com/highcharts/series.

Examples

1
2
3
4
5
6
7
set.seed(123)
x <- cumsum(rnorm(10))

hcspark(x)
hcspark(x, "columnn")
hcspark(c(1, 4, 5), "pie")
hcspark(x, type = "area")

highcharter documentation built on Jan. 3, 2022, 5:08 p.m.