Merge pull request #10749 from dataease/pr@dev-v2@fix_funnel_time_dim

fix(图表): 漏斗图时间维度显示异常
This commit is contained in:
wisonic-s 2024-07-03 10:51:19 +08:00 committed by GitHub
commit ba5ba9c8b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,12 @@ export class Funnel extends G2PlotChartView<FunnelOptions, G2Funnel> {
end: [{ trigger: 'interval:mouseleave', action: 'tooltip:hide' }]
}
}
]
],
meta: {
field: {
type: 'cat'
}
}
}
const options = this.setupOptions(chart, baseOptions)
const newChart = new G2Funnel(container, options)