Scale Title Configuration Namespace: options.scales[scaleId].title, it defines options for the scale title. Note that this only applies to cartesian axes.

cjs_cartesian_title(
  display = FALSE,
  align = "center",
  text = "",
  color = htmlwidgets::JS("Chart.defaults.color"),
  font = htmlwidgets::JS("Chart.defaults.font"),
  padding = 4
)

Arguments

display

boolean FALSE If true, display the axis title.

align

string 'center' Alignment of the axis title. Possible options are 'start', 'center' and 'end'

text

string|string[] ” The text for the title. (i.e. "# of People" or "Response Choices").

color

Color Chart.defaults.color Color of label.

font

Font Chart.defaults.font See Fonts

padding

Padding 4 Padding to apply around scale labels. Only top, bottom and y are implemented.

Value

a list