UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

19 lines 696 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.axisZConfig = exports.AxisZ = void 0; const axis_1 = require("./axis"); /** * LinearAxis component bind to z scale. */ const AxisZ = (options) => { return (...args) => { const axisZ = (0, axis_1.LinearAxis)(Object.assign({}, { crossPadding: 10 }, options))(...args); (0, axis_1.rotateAxis)(axisZ, options); return axisZ; }; }; exports.AxisZ = AxisZ; exports.AxisZ.props = Object.assign(Object.assign({}, axis_1.LinearAxis.props), { defaultPosition: 'bottom', defaultPlane: 'yz' }); function axisZConfig() { } exports.axisZConfig = axisZConfig; //# sourceMappingURL=axisZ.js.map