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

Function getFontSize

docs/app/js/sanddance-app.js:148579–148581  ·  view source on GitHub ↗
(encode, scope, style)

Source from the content-addressed store, hash-verified

148577 return spec[name] ? `scale("${spec[name]}",datum)` : getEncoding(name, marks[0].encode);
148578}
148579function getFontSize(encode, scope, style) {
148580 return getEncoding("fontSize", encode) || getStyle("fontSize", scope, style);
148581}
148582const angleExpr = `item.orient==="${Left}"?-90:item.orient==="${Right}"?90:0`;
148583function parseTitle(spec, scope) {
148584 spec = (0, _vegaUtil.isString)(spec) ? {

Callers 1

sizeExpressionFunction · 0.70

Calls 2

getEncodingFunction · 0.70
getStyleFunction · 0.70

Tested by

no test coverage detected