From 76e25d5e389cd7deecb04ed1c3239b2913652129 Mon Sep 17 00:00:00 2001 From: "vicky_primathon.in" Date: Mon, 16 Mar 2020 13:32:47 +0530 Subject: [PATCH] chart component title left aligned --- .../src/components/designSystems/appsmith/ChartComponent.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/client/src/components/designSystems/appsmith/ChartComponent.tsx b/app/client/src/components/designSystems/appsmith/ChartComponent.tsx index 61038eed9c..f8af0e3328 100644 --- a/app/client/src/components/designSystems/appsmith/ChartComponent.tsx +++ b/app/client/src/components/designSystems/appsmith/ChartComponent.tsx @@ -72,6 +72,9 @@ const ChartComponent = (props: ChartComponentProps) => { yAxisName: props.yAxisName, theme: "fusion", caption: props.chartName, + captionAlignment: "left", + captionHorizontalPadding: 10, + alignCaptionWithCanvas: false, }, data: getChartData(props.chartData), }}