2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

Set maximum height for part charts (#8232)

This commit is contained in:
Oliver 2024-10-03 09:41:11 +10:00 committed by GitHub
parent 69bc5808d2
commit f8c7635a8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,6 @@ import {
Anchor, Anchor,
Center, Center,
Divider, Divider,
DrawerOverlay,
Loader, Loader,
Paper, Paper,
SimpleGrid, SimpleGrid,
@ -264,6 +263,7 @@ export default function PartSchedulingDetail({ part }: { part: any }) {
) : ( ) : (
<LineChart <LineChart
data={chartData} data={chartData}
mah={'500px'}
dataKey="date" dataKey="date"
withLegend withLegend
withYAxis withYAxis

View File

@ -226,6 +226,7 @@ export default function PartStocktakeDetail({ partId }: { partId: number }) {
) : ( ) : (
<LineChart <LineChart
data={chartData} data={chartData}
mah={'500px'}
dataKey="date" dataKey="date"
withLegend withLegend
withYAxis withYAxis