提交 629d14e3 authored 作者: taojinlong's avatar taojinlong

Merge branch 'dev' of github.com:dataease/dataease into dev

...@@ -1253,7 +1253,7 @@ export default { ...@@ -1253,7 +1253,7 @@ export default {
export_to_pdf: '导出为PDF', export_to_pdf: '导出为PDF',
preview: '预览', preview: '预览',
fullscreen_preview: '全屏预览', fullscreen_preview: '全屏预览',
ta: '新Tab页预览', new_tab_preview: '新Tab页预览',
select_panel_from_left: '请从左侧选择仪表板', select_panel_from_left: '请从左侧选择仪表板',
template_nale: '模板名称', template_nale: '模板名称',
template: '模板', template: '模板',
......
...@@ -20,10 +20,12 @@ export function baseWaterfallOptionAntV(plot, container, chart, action) { ...@@ -20,10 +20,12 @@ export function baseWaterfallOptionAntV(plot, container, chart, action) {
const xAxis = getXAxis(chart) const xAxis = getXAxis(chart)
const yAxis = getYAxis(chart) const yAxis = getYAxis(chart)
// fix yAxis // fix yAxis
yAxis.min = yAxis.minLimit if (yAxis) {
yAxis.max = yAxis.maxLimit yAxis.min = yAxis.minLimit
delete yAxis.minLimit yAxis.max = yAxis.maxLimit
delete yAxis.maxLimit delete yAxis.minLimit
delete yAxis.maxLimit
}
// data // data
const data = chart.data.datas const data = chart.data.datas
// total // total
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论