UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

18 lines 529 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MaybeZeroPadding = void 0; const util_1 = require("@antv/util"); /** * Set padding of x and y scale to zero. */ const MaybeZeroPadding = () => { return (I, mark) => { return [ I, (0, util_1.deepMix)({ scale: { x: { padding: 0 }, y: { padding: 0 } } }, mark), ]; }; }; exports.MaybeZeroPadding = MaybeZeroPadding; exports.MaybeZeroPadding.props = {}; //# sourceMappingURL=maybeZeroPadding.js.map