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

Function addAxes

packages/sanddance-specs/src/scope.ts:14–19  ·  view source on GitHub ↗
(scope: Scope, ...axis: Axis[])

Source from the content-addressed store, hash-verified

12} from 'vega-typings';
13
14export function addAxes(scope: Scope, ...axis: Axis[]) {
15 if (!scope.axes) {
16 scope.axes = [];
17 }
18 scope.axes.push(...axis);
19}
20
21export function addData(scope: Scope, ...data: Data[]) {
22 if (!scope.data) {

Callers 1

addGlobalAxesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected