cjsTitle: Add title

Description Usage Arguments

Description

Add title

Usage

1
2
3
cjsTitle(chartjs, title, position = NULL, fullWidth = NULL,
  fontColor = NULL, fontFamily = NULL, fontSize = NULL,
  fontStyle = NULL, padding = NULL)

Arguments

chartjs

a chartjs object

title

the title of the chart

position

"top" or "bottom", defaults to "top"

fullWidth

a logical, defaults to TRUE

fontColor

a character, defaults to "#666"

fontFamily

a character, defaults to "Helvetica Neue"

fontSize

an integer, defaults to 12

fontStyle

a character, defaults to "bold"

padding

a integer, defaults to 10 (in pixels)


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