Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ run
Function
run
test/fixtures/controller.line/stacking/updates.js:35–38 ·
view source on GitHub ↗
(chart)
Source
from the content-addressed store, hash-verified
33
options: {
34
spriteText: true,
35
run(chart) {
36
chart.data.datasets.splice(1, 0, {data: [1.5, 1.5, 1.5], stack:
's2'
, borderColor:
'#000000'
});
37
chart.update();
38
}
39
}
40
};
Callers
nothing calls this directly
Calls
1
update
Method · 0.65
Tested by
no test coverage detected