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

File plugin.decimation.js

src/plugins/plugin.decimation.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {_limitValue, _lookupByKey, isNullOrUndef, resolve} from '../helpers/index.js';
2
3function lttbDecimation(data, start, count, availableWidth, options) {
4 /**

Callers

nothing calls this directly

Calls 8

cleanDecimatedDataFunction · 0.85
resolveFunction · 0.85
cleanDecimatedDatasetFunction · 0.85
isNullOrUndefFunction · 0.85
lttbDecimationFunction · 0.85
minMaxDecimationFunction · 0.85
getDatasetMetaMethod · 0.80

Tested by

no test coverage detected