forked from github/dataease
fix(图表): 富文本的维度与指标字段允许为空
This commit is contained in:
parent
4821c2ee3a
commit
b57f2f3abd
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user