Add Uptime chart with months

This commit is contained in:
Hristo Nedelkov 2023-09-21 11:58:19 +03:00
parent dece80f2ac
commit 4d4f23fe3d
1 changed files with 67 additions and 0 deletions

View File

@ -56,3 +56,70 @@ export const WithoutLabels: Story = {
}, },
} }
export const WithMonths: Story = {
args: {
data: [
{
name: 'Jan',
pv: 0,
pa: 0,
},
{
name: 'Feb',
pv: 0,
pa: 0,
},
{
name: 'Mar',
pv: 0,
pa: 0,
},
{
name: 'Apr',
pv: 0,
pa: 0,
},
{
name: 'May',
pv: 0,
pa: 0,
},
{
name: 'Aug',
pv: 0,
pa: 0,
},
{
name: 'Jun',
pv: 0,
pa: 0,
},
{
name: 'Jul',
pv: 1,
pa: 0,
},
{
name: 'Sep',
pv: 0,
pa: 0,
},
{
name: 'Oct',
pv: 0,
pa: 0,
},
{
name: 'Nov',
pv: 1,
pa: 1,
},
{
name: 'Dec',
pv: 1,
pa: 1,
},
]
}
}