@antv/g2plot
Version:
An interactive and responsive charting library
41 lines • 944 B
JavaScript
export var Y_FIELD = '$$yField$$';
export var DIFF_FIELD = '$$diffField$$';
export var ABSOLUTE_FIELD = '$$absoluteField$$';
export var IS_TOTAL = '$$isTotal$$';
/**
* 瀑布图 默认配置项
*/
export var DEFAULT_OPTIONS = {
/** default: show label */
label: {},
/** default: show leaderLine */
leaderLine: {
style: {
lineWidth: 1,
stroke: '#8c8c8c',
lineDash: [4, 2],
},
},
/** default: show total */
total: {
style: {
fill: 'rgba(0, 0, 0, 0.25)',
},
},
interactions: [{ type: 'element-active' }],
risingFill: '#f4664a',
fallingFill: '#30bf78',
waterfallStyle: {
fill: 'rgba(0, 0, 0, 0.25)',
},
yAxis: {
grid: {
line: {
style: {
lineDash: [4, 2],
},
},
},
},
};
//# sourceMappingURL=constant.js.map