mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-18 13:48:58 +02:00
chore: update ux styling for lifecycle charts (#10497)
<img width="1442" height="492" alt="image" src="https://github.com/user-attachments/assets/4ec76d72-3bfb-4525-ac63-c3e995f7638b" />
This commit is contained in:
parent
b6ea8a3849
commit
05ea405bf6
@ -147,8 +147,8 @@ export const CreationArchiveChart: FC<ICreationArchiveChartProps> = ({
|
|||||||
{
|
{
|
||||||
label: 'Archived flags',
|
label: 'Archived flags',
|
||||||
data: weeks,
|
data: weeks,
|
||||||
backgroundColor: theme.palette.background.application,
|
backgroundColor: theme.palette.neutral.border,
|
||||||
borderColor: theme.palette.background.application,
|
borderColor: theme.palette.neutral.border,
|
||||||
parsing: { yAxisKey: 'archivedFlags', xAxisKey: 'date' },
|
parsing: { yAxisKey: 'archivedFlags', xAxisKey: 'date' },
|
||||||
order: 2,
|
order: 2,
|
||||||
},
|
},
|
||||||
@ -238,11 +238,14 @@ export const CreationArchiveChart: FC<ICreationArchiveChartProps> = ({
|
|||||||
scales: {
|
scales: {
|
||||||
x: {
|
x: {
|
||||||
type: 'time',
|
type: 'time',
|
||||||
display: false,
|
display: true,
|
||||||
time: {
|
time: {
|
||||||
unit: 'week',
|
unit: 'week',
|
||||||
tooltipFormat: 'PPP',
|
tooltipFormat: 'PPP',
|
||||||
},
|
},
|
||||||
|
grid: {
|
||||||
|
display: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
y: {
|
y: {
|
||||||
type: 'linear',
|
type: 'linear',
|
||||||
|
Loading…
Reference in New Issue
Block a user