MCPcopy
hub / github.com/chartjs/Chart.js / decodedFillValues

Function decodedFillValues

test/specs/plugin.filler.tests.js:3–9  ·  view source on GitHub ↗
(chart)

Source from the content-addressed store, hash-verified

1describe('Plugin.filler', function() {
2 const fillerPluginRegisterWarning = 'Tried to use the \'fill\' option without the \'Filler\' plugin enabled. Please import and register the \'Filler\' plugin and make sure it is not disabled in the options';
3 function decodedFillValues(chart) {
4 return chart.data.datasets.map(function(dataset, index) {
5 var meta = chart.getDatasetMeta(index) || {};
6 expect(meta.$filler).toBeDefined();
7 return meta.$filler.fill;
8 });
9 }
10
11 describe('auto', jasmine.fixture.specs('plugin.filler'));
12

Callers 1

Calls 1

getDatasetMetaMethod · 0.80

Tested by

no test coverage detected