Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ beforeDraw
Function
beforeDraw
test/types/options.ts:51–51 ·
view source on GitHub ↗
(c)
Source
from the content-addressed store, hash-verified
49
const
genericPlugin: Plugin = {
50
id:
'centerText'
,
51
beforeDraw(c) {}
52
};
53
54
const
doughnutWithPlugin: Chart<
'doughnut'
> =
new
Chart(
'doughnut-plugin'
, {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected