Merge pull request #12636 from dataease/pr@dev-v2@chart-rich-text-fix

fix(图表): 富文本的维度与指标字段允许为空
This commit is contained in:
jianneng-fit2cloud
2024-10-11 14:36:52 +08:00
committed by GitHub

View File

@@ -22,11 +22,13 @@ export class RichTextChartView extends AbstractChartView {
axisConfig: AxisConfig = {
xAxis: {
name: `${t('chart.dimension')}`,
type: 'd'
type: 'd',
allowEmpty: true
},
yAxis: {
name: `${t('chart.quota')}`,
type: 'q'
type: 'q',
allowEmpty: true
}
}
constructor() {