set graph width

This commit is contained in:
Kieran 2022-09-16 22:08:19 +01:00
parent f010fed810
commit 534722bf0d
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -9,7 +9,7 @@ export function MetricsGraph(props) {
return (
<BarChart
width={720}
width={Math.min(window.innerWidth, 900)}
height={200}
data={metrics.timeSeriesMetrics}
margin={{left: 0, right: 0}}