提交 11f2ae5b authored 作者: junjie's avatar junjie

feat:瀑布图

上级 49288318
......@@ -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],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论