From 4048b81b2e456f6875d437a0a7f0f0e0cb3f7eae Mon Sep 17 00:00:00 2001 From: abhishek nayak Date: Mon, 18 Jan 2021 18:47:50 +0530 Subject: [PATCH] Update ChartDataControl.tsx --- app/client/src/components/propertyControls/ChartDataControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/src/components/propertyControls/ChartDataControl.tsx b/app/client/src/components/propertyControls/ChartDataControl.tsx index 3a23c9fa5d..7e6cb01137 100644 --- a/app/client/src/components/propertyControls/ChartDataControl.tsx +++ b/app/client/src/components/propertyControls/ChartDataControl.tsx @@ -282,7 +282,7 @@ class ChartDataControl extends BaseControl { seriesName: string; data: string; }> = this.props.propertyValue; - chartData.push({ seriesName: "", data: '[{ x: "", y: "" }]' }); + chartData.push({ seriesName: "", data: '[{ "x": "label", "y": 50 }]' }); this.updateProperty(this.props.propertyName, chartData); };