fix(图表): 富文本的维度与指标字段允许为空

This commit is contained in:
jianneng-fit2cloud 2024-10-11 14:36:12 +08:00
parent 4821c2ee3a
commit b57f2f3abd

View File

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