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

Function stackValues

test/specs/core.datasetController.spec.js:741–744  ·  view source on GitHub ↗
(chart)

Source from the content-addressed store, hash-verified

739 }
740
741 function stackValues(chart) {
742 const stacks = chart._stacks['x.y.' + type];
743 return Object.keys(stacks).map(key => [stacks[key][0], stacks[key][1]]);
744 }
745
746 it('should stack a pushed value', function() {
747 const chart = createChart();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected