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

Function guideMark

docs/app/js/sanddance-app.js:147627–147635  ·  view source on GitHub ↗
(mark, extras)

Source from the content-addressed store, hash-verified

147625 });
147626}
147627function guideMark(mark, extras) {
147628 if (extras) {
147629 mark.name = extras.name;
147630 mark.style = extras.style || mark.style;
147631 mark.interactive = !!extras.interactive;
147632 mark.encode = extendEncode(mark.encode, extras, Skip);
147633 } else mark.interactive = false;
147634 return mark;
147635}
147636function legendGradient(spec, scale3, config, userEncode) {
147637 const _ = lookup(spec, config), vertical = _.isVertical(), thickness = _.gradientThickness(), length = _.gradientLength();
147638 let enter, start, stop, width, height;

Callers 12

legendGradientFunction · 0.70
legendGradientDiscreteFunction · 0.70
legendGradientLabelsFunction · 0.70
legendSymbolGroupsFunction · 0.70
legendTitleFunction · 0.70
buildTitleFunction · 0.70
buildSubTitleFunction · 0.70
axisDomainFunction · 0.70
axisGridFunction · 0.70
axisTicksFunction · 0.70
axisLabelsFunction · 0.70
axisTitleFunction · 0.70

Calls 1

extendEncodeFunction · 0.70

Tested by

no test coverage detected