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

Function includeZero

docs/app/js/sanddance-app.js:129926–129929  ·  view source on GitHub ↗
(scale)

Source from the content-addressed store, hash-verified

129924});
129925const DEFAULT_COUNT = 5;
129926function includeZero(scale) {
129927 const type = scale.type;
129928 return !scale.bins && (type === (0, _vegaScale.Linear) || type === (0, _vegaScale.Pow) || type === (0, _vegaScale.Sqrt));
129929}
129930function includePad(type) {
129931 return (0, _vegaScale.isContinuous)(type) && type !== (0, _vegaScale.Sequential);
129932}

Callers 1

configureDomainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected