fix(LineChart): enable x-axis labels visibility and adjust styling

This commit is contained in:
Vaibhav Surve 2025-04-11 15:45:02 +05:30
parent 12aa5c1491
commit 02b0c4ccab

View File

@ -31,7 +31,7 @@ const LineChart = ({
}, },
stroke: { stroke: {
curve: 'straight', curve: 'straight',
width: 2 width: 2
}, },
grid: { grid: {
show: false, show: false,
@ -55,11 +55,18 @@ const LineChart = ({
}, },
xaxis: { xaxis: {
categories, categories,
labels: { show: false }, labels: {
show: true,
rotate: -45,
style: {
fontSize: '12px'
}
},
axisBorder: { show: false }, axisBorder: { show: false },
axisTicks: { show: false }, axisTicks: { show: false },
tooltip: { enabled: false } tooltip: { enabled: false }
}, },
yaxis: { yaxis: {
labels: { show: false }, labels: { show: false },
axisBorder: { show: false }, axisBorder: { show: false },