| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.DEFAULT_OPTIONS = exports.IS_TOTAL = exports.ABSOLUTE_FIELD = exports.DIFF_FIELD = exports.Y_FIELD = void 0;
- exports.Y_FIELD = '$$yField$$';
- exports.DIFF_FIELD = '$$diffField$$';
- exports.ABSOLUTE_FIELD = '$$absoluteField$$';
- exports.IS_TOTAL = '$$isTotal$$';
- /**
- * 瀑布图 默认配置项
- */
- exports.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
|