mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix(视图): 修复瀑布图维度字段为时间格式时不显示合计的问题
This commit is contained in:
parent
da83d3589b
commit
4e98fd9ece
@ -106,7 +106,11 @@ export function baseWaterfallOptionAntV(plot, container, chart, action) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getMeta(chart) {
|
function getMeta(chart) {
|
||||||
const meta = {}
|
const meta = {
|
||||||
|
field: {
|
||||||
|
type: 'cat'
|
||||||
|
}
|
||||||
|
}
|
||||||
const yaxis = JSON.parse(chart.yaxis)
|
const yaxis = JSON.parse(chart.yaxis)
|
||||||
if (yaxis && yaxis.length > 0) {
|
if (yaxis && yaxis.length > 0) {
|
||||||
const f = yaxis[0]
|
const f = yaxis[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user