cjsAddScale: Add a scale to an axis

Description Usage Arguments Details

Description

cjsAddScale adds a scale to an axis.

Usage

1
cjsAddScale(cjs, axis = c("x", "y", NULL), type = "category", ...)

Arguments

cjs

a chartjs object

axis

the axis on which the scale lives

type

the type of scale to add

...

additional parameters

Details

See the Charts.js documentation for values in ...


Tutuchan/chartjs documentation built on May 9, 2019, 5:16 p.m.