mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-22 01:09:49 +00:00
Take last point dynamically
This commit is contained in:
parent
508f9b644f
commit
a6562a7273
@ -17,7 +17,7 @@ const StandartLineChart = ({ data }: StandartLineChartProps) => {
|
||||
<ResponsiveLine
|
||||
data={data}
|
||||
margin={{ top: 0, right: 0, bottom: 0, left: -75 }}
|
||||
xScale={{ type: 'linear', min: 1, max: 12 }}
|
||||
xScale={{ type: 'linear', min: 0, max: data[0].data.length }}
|
||||
yScale={{
|
||||
type: 'linear',
|
||||
min: 'auto',
|
||||
|
Loading…
x
Reference in New Issue
Block a user