@antv/g2plot
Version:
An interactive and responsive charting library
33 lines • 835 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_OPTIONS = exports.RAW_FIELDS = void 0;
/** 默认的源字段 */
exports.RAW_FIELDS = ['x', 'y', 'r', 'name', 'value', 'path', 'depth'];
exports.DEFAULT_OPTIONS = {
// 默认按照 name 字段对颜色进行分类
colorField: 'name',
autoFit: true,
pointStyle: {
lineWidth: 0,
stroke: '#fff',
},
// 默认不开启图例
legend: false,
hierarchyConfig: {
size: [1, 1],
padding: 0,
},
label: {
fields: ['name'],
layout: {
type: 'limit-in-shape',
},
},
tooltip: {
showMarkers: false,
showTitle: false,
},
// 默认不可以下钻
drilldown: { enabled: false },
};
//# sourceMappingURL=constant.js.map
;