MCPcopy Create free account
hub / github.com/microsoft/SandDance / thresholdValues

Function thresholdValues

docs/app/js/sanddance-app.js:127238–127244  ·  view source on GitHub ↗
(thresholds)

Source from the content-addressed store, hash-verified

127236 return locale.formatSpan(0, d, 30, specifier);
127237}
127238function thresholdValues(thresholds) {
127239 const values = [
127240 -Infinity
127241 ].concat(thresholds);
127242 values.max = Infinity;
127243 return values;
127244}
127245function binValues(bins) {
127246 const values = bins.slice(0, -1);
127247 values.max = (0, _vegaUtil.peek)(bins);

Callers 1

labelValuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected