cjs_tooltip.Rd
Uses a callback function within chartjs. Reference elements using template literal
notation e.g. 'x value: $x, y value: $y'.
See vignette('tooltips-and-interaction-modes', package = 'chartjs4r')
cjs_tooltip(
p,
label,
title,
beforeTitle,
afterTitle,
footer,
beforeFooter,
afterFooter
)
chartjs object
=
= 'title_text'
= 'beforeTitle_text'
= 'afterTitle_text'
= 'footer_text',
= 'beforeFooter_text'
= 'afterFooter_text'
An object of class htmlwidget