mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-27 00:19:39 +01:00
fix(insights): chart start date (#6491)
Switch charts to stretch X-axis to the full width
This commit is contained in:
parent
f2f38a60dc
commit
afbc047c77
@ -1,5 +1,4 @@
|
||||
import { Theme } from '@mui/material';
|
||||
import { format, subMonths } from 'date-fns';
|
||||
import { ILocationSettings } from 'hooks/useLocationSettings';
|
||||
import { TooltipState } from './ChartTooltip/ChartTooltip';
|
||||
import { createTooltip } from './createTooltip';
|
||||
@ -76,7 +75,6 @@ export const createOptions = (
|
||||
maxRotation: 90,
|
||||
minRotation: 23.5,
|
||||
},
|
||||
min: format(subMonths(new Date(), 3), 'yyyy-MM-dd'),
|
||||
},
|
||||
},
|
||||
}) as const;
|
||||
|
Loading…
Reference in New Issue
Block a user