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

This commit is contained in:
taojinlong 2021-11-01 17:22:52 +08:00
commit 629d14e3b0
2 changed files with 7 additions and 5 deletions

View File

@ -1253,7 +1253,7 @@ export default {
export_to_pdf: '导出为PDF',
preview: '预览',
fullscreen_preview: '全屏预览',
ta: '新Tab页预览',
new_tab_preview: '新Tab页预览',
select_panel_from_left: '请从左侧选择仪表板',
template_nale: '模板名称',
template: '模板',

View File

@ -20,10 +20,12 @@ export function baseWaterfallOptionAntV(plot, container, chart, action) {
const xAxis = getXAxis(chart)
const yAxis = getYAxis(chart)
// fix yAxis
yAxis.min = yAxis.minLimit
yAxis.max = yAxis.maxLimit
delete yAxis.minLimit
delete yAxis.maxLimit
if (yAxis) {
yAxis.min = yAxis.minLimit
yAxis.max = yAxis.maxLimit
delete yAxis.minLimit
delete yAxis.maxLimit
}
// data
const data = chart.data.datas
// total