cjs_theme.Rd
Some text
cjs_theme(
p,
chart.backgroundColor = NULL,
chart.borderColor = NULL,
chart.color = NULL,
title.text = NULL,
title.display = FALSE,
title.align = NULL,
title.color = NULL,
title.padding = NULL,
legend.display = TRUE,
legend.position = NULL
)
a chartjs htmlwidget
background color of the plot
border color of the plot
text colour for the plot
plot title
display the plot. Will automatically be TRUE if title text something other than ”
Alignment of the title. Options are: 'start', 'center', 'end'
Color of label
Padding to apply around scale labels. Only top, bottom and y are implemented
display the legend
Position of the legend. Options are: 'top', 'left', 'bottom' 'right'
An object of class htmlwidget