design(dashboard): adjust overview metric chart

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-12 10:28:45 +02:00
parent 558761ca9d
commit 54132016ba
2 changed files with 9 additions and 2 deletions

View File

@@ -220,10 +220,16 @@ export default function OverviewMetrics({ projectId }: OverviewMetricsProps) {
<div className="card col-span-6 p-4">
<ReportChart
key={selectedMetric.id}
options={{ hideID: true, maxDomain: selectedMetric.maxDomain }}
options={{
hideID: true,
maxDomain: selectedMetric.maxDomain,
aspectRatio: 0.2,
hideLegend: true,
}}
report={{
...selectedMetric,
chartType: 'linear',
lineType: 'linear',
}}
/>
</div>