Skip to content

Commit f6c4c4e

Browse files
committed
fix: EnergyConsumptionChart scale
1 parent 3fc0808 commit f6c4c4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/EnergyConsumptionChart.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const EnergyConsumptionChart = () => {
230230
} satisfies ChartData
231231

232232
return (
233-
<Box mb={16}>
233+
<Box my={16}>
234234
<Center w="full" mb={{ base: 4, md: 6 }}>
235235
<Box
236236
position="relative"
@@ -240,7 +240,7 @@ const EnergyConsumptionChart = () => {
240240
mb={{ base: 4, md: 0 }}
241241
>
242242
{/* TODO: isRtl ? data?.reverse() : data */}
243-
<Bar options={chartOptions} data={chartData} />
243+
<Bar options={chartOptions} data={chartData} updateMode="none" />
244244
</Box>
245245
</Center>
246246

0 commit comments

Comments
 (0)