Skip to content

Commit

Permalink
chore: set min yaxis value for line charts to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsOveTen committed Nov 1, 2024
1 parent ad8d30c commit 4ba6646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/charts/components/line/line.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const LineChart: FC<Props> = ({
formatter: (val: any) => moment(new Date(val)).format('DD MMM YY')
}
},
yaxis: { min: 0 },
legend: {
horizontalAlign: 'left' as const
},
Expand Down

0 comments on commit 4ba6646

Please sign in to comment.