add: enable legend display with reduced font size in HorizontalBarChart

This commit is contained in:
Vaibhav Surve 2025-04-15 16:49:05 +05:30
parent c05f3aa0a1
commit 4e654444a8

View File

@ -98,6 +98,10 @@ const HorizontalBarChart = ({
axisBorder: { show: false },
axisTicks: { show: false },
},
legend: {
show: true,
fontSize: '8px', // Reduce text size
},
tooltip: {
theme: "dark",
x: { show: true },