fix(LineChart): enable x-axis labels visibility and adjust styling
This commit is contained in:
parent
12aa5c1491
commit
02b0c4ccab
@ -31,7 +31,7 @@ const LineChart = ({
|
||||
},
|
||||
stroke: {
|
||||
curve: 'straight',
|
||||
width: 2
|
||||
width: 2
|
||||
},
|
||||
grid: {
|
||||
show: false,
|
||||
@ -55,11 +55,18 @@ const LineChart = ({
|
||||
},
|
||||
xaxis: {
|
||||
categories,
|
||||
labels: { show: false },
|
||||
labels: {
|
||||
show: true,
|
||||
rotate: -45,
|
||||
style: {
|
||||
fontSize: '12px'
|
||||
}
|
||||
},
|
||||
axisBorder: { show: false },
|
||||
axisTicks: { show: false },
|
||||
tooltip: { enabled: false }
|
||||
},
|
||||
|
||||
yaxis: {
|
||||
labels: { show: false },
|
||||
axisBorder: { show: false },
|
||||
|
Loading…
x
Reference in New Issue
Block a user