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

Function createChart

test/specs/core.controller.tests.js:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 var canvas = chart.canvas;
27
28 function createChart() {
29 return new Chart(canvas, config);
30 }
31
32 expect(createChart).toThrow(new Error(
33 'Canvas is already in use. ' +

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected