MCPcopy Create free account
hub / github.com/chartjs/Chart.js / afterInit

Function afterInit

src/plugins/plugin.tooltip.js:1229–1233  ·  view source on GitHub ↗
(chart, _args, options)

Source from the content-addressed store, hash-verified

1227 positioners,
1228
1229 afterInit(chart, _args, options) {
1230 if (options) {
1231 chart.tooltip = new Tooltip({chart, options});
1232 }
1233 },
1234
1235 beforeUpdate(chart, _args, options) {
1236 if (chart.tooltip) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected