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

Function run

test/fixtures/controller.bar/stacking/replace-data.js:41–48  ·  view source on GitHub ↗
(chart)

Source from the content-addressed store, hash-verified

39 },
40 options: {
41 run(chart) {
42 chart.data.datasets[1].data = [
43 {x: 'January', y: 5},
44 // Februay missing
45 {x: 'March', y: 5}
46 ];
47 chart.update();
48 }
49 }
50};

Callers

nothing calls this directly

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected