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

Function includeZero

docs/tests/v2/es6/js/sanddance.js:110925–110928  ·  view source on GitHub ↗
(scale)

Source from the content-addressed store, hash-verified

110923var DEFAULT_COUNT = 5;
110924
110925function includeZero(scale) {
110926 const type = scale.type;
110927 return !scale.bins && (type === _vegaScale.Linear || type === _vegaScale.Pow || type === _vegaScale.Sqrt);
110928}
110929
110930function includePad(type) {
110931 return (0, _vegaScale.isContinuous)(type) && type !== _vegaScale.Sequential;

Callers 1

configureDomainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected