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

Function cleanDecimatedData

src/plugins/plugin.decimation.js:170–174  ·  view source on GitHub ↗
(chart)

Source from the content-addressed store, hash-verified

168}
169
170function cleanDecimatedData(chart) {
171 chart.data.datasets.forEach((dataset) => {
172 cleanDecimatedDataset(dataset);
173 });
174}
175
176function getStartAndCountOfVisiblePointsSimplified(meta, points) {
177 const pointCount = points.length;

Callers 2

destroyFunction · 0.85

Calls 1

cleanDecimatedDatasetFunction · 0.85

Tested by

no test coverage detected