Description Usage Arguments Value
See here for more detailed documentation: https://www.chartjs.org/docs/latest/general/options.html.
1 2 3 4 5 6 7 8 | alter_options(
chart,
...,
animDur = 400,
hoverDelay = 0,
resizeAnimDur = 0,
tension = 0.4
)
|
chart |
A |
... |
Additional named arguments to add to the options. |
animDur |
How long the initial plot building animation should take (in milliseconds) (numeric scalar). |
hoverDelay |
How long to wait after hovering before showing a tooltip (in milliseconds) (numeric scalar). |
resizeAnimDur |
How long the plot resizing animation should take (in milliseconds) (numeric scalar). |
tension |
The default tension to use for lines between the points (0 for straight lines, 0.4 is default) (numeric scalar). |
A modified chartjs
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.