From 9c47b05d64a3e80988d0baa005446609c5834e25 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Mon, 14 Apr 2025 11:59:51 +0530 Subject: [PATCH] update HorizontalBarChart styles: change data label position to top and add border radius --- src/components/Charts/HorizontalBarChart.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Charts/HorizontalBarChart.jsx b/src/components/Charts/HorizontalBarChart.jsx index 65722607..86f05668 100644 --- a/src/components/Charts/HorizontalBarChart.jsx +++ b/src/components/Charts/HorizontalBarChart.jsx @@ -58,8 +58,9 @@ const HorizontalBarChart = ({ barHeight: "60%", distributed: true, horizontal: true, + borderRadius: 10, dataLabels: { - position: "center", + position: "top", }, }, },