MCPcopy Index your code
hub / github.com/microsoft/SandDance / parseScaleNice

Function parseScaleNice

docs/app/js/sanddance-app.js:147444–147449  ·  view source on GitHub ↗
(nice)

Source from the content-addressed store, hash-verified

147442 return v.signal || (0, _vegaUtil.isArray)(v) ? parseArray(v, scope) : scope.objectProperty(v);
147443} // -- SCALE NICE -----
147444function parseScaleNice(nice) {
147445 return (0, _vegaUtil.isObject)(nice) ? {
147446 interval: parseLiteral(nice.interval),
147447 step: parseLiteral(nice.step)
147448 } : parseLiteral(nice);
147449} // -- SCALE INTERPOLATION -----
147450function parseScaleInterpolate(interpolate, params) {
147451 params.interpolate = parseLiteral(interpolate.type || interpolate);
147452 if (interpolate.gamma != null) params.interpolateGamma = parseLiteral(interpolate.gamma);

Callers 1

parseScaleFunction · 0.70

Calls 1

parseLiteralFunction · 0.70

Tested by

no test coverage detected