From b57f2f3abd8f67b0602fe95411064d5b410289a5 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud <jianneng.pan@fit2cloud.com> Date: Fri, 11 Oct 2024 14:36:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E5=AF=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E7=9A=84=E7=BB=B4=E5=BA=A6=E4=B8=8E=E6=8C=87=E6=A0=87?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=85=81=E8=AE=B8=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/js/panel/charts/others/rich-text.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/others/rich-text.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/others/rich-text.ts index c83a18b546..8a5fa158f4 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/others/rich-text.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/others/rich-text.ts @@ -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() {