Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{_limitValue, _lookupByKey, isNullOrUndef, resolve} from
'../helpers/index.js'
;
2
3
function
lttbDecimation(data, start, count, availableWidth, options) {
4
/**
Callers
nothing calls this directly
Calls
8
cleanDecimatedData
Function · 0.85
resolve
Function · 0.85
getStartAndCountOfVisiblePointsSimplified
Function · 0.85
cleanDecimatedDataset
Function · 0.85
isNullOrUndef
Function · 0.85
lttbDecimation
Function · 0.85
minMaxDecimation
Function · 0.85
getDatasetMeta
Method · 0.80
Tested by
no test coverage detected