Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ createChart
Function
createChart
test/specs/core.controller.spec.js:27–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
var
canvas = chart.canvas;
26
27
function
createChart() {
28
return
new
Chart(canvas, config);
29
}
30
31
expect(createChart).toThrow(
new
Error(
32
'Canvas is already in use. '
+
Callers
1
core.controller.spec.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected