@antv/g2plot
Version:
An interactive and responsive charting library
22 lines • 579 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_OPTIONS = void 0;
var plot_1 = require("../../core/plot");
var utils_1 = require("../../utils");
/**
* 条形图默认配置项
*/
exports.DEFAULT_OPTIONS = utils_1.deepAssign({}, plot_1.Plot.getDefaultOptions(), {
barWidthRatio: 0.6,
marginRatio: 1 / 32,
tooltip: {
shared: true,
showMarkers: false,
offset: 20,
},
legend: {
radio: {},
},
interactions: [{ type: 'active-region' }],
});
//# sourceMappingURL=constants.js.map