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