feat:瀑布图

This commit is contained in:
junjie 2021-10-22 10:19:30 +08:00
parent 11f2ae5b67
commit 027844a850

View File

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