feat:瀑布图

This commit is contained in:
junjie 2021-10-22 10:05:53 +08:00
parent 4928831805
commit 11f2ae5b67

View File

@ -16,7 +16,8 @@ export function baseWaterfallOptionAntV(plot, container, chart, action) {
const label = getLabel(chart)
const tooltip = getTooltip(chart)
// style
// const legend = getLegend(chart)
const legend = getLegend(chart)
legend.position = 'top'
const xAxis = getXAxis(chart)
const yAxis = getYAxis(chart)
// fix yAxis
@ -43,7 +44,7 @@ export function baseWaterfallOptionAntV(plot, container, chart, action) {
appendPadding: getPadding(chart),
label: label,
tooltip: tooltip,
legend: false,
legend: legend,
xAxis: xAxis,
yAxis: yAxis,
risingFill: theme.styleSheet.paletteQualitative10[0],