diff --git a/site/src/components/MmpChart.svelte b/site/src/components/MmpChart.svelte index 4a9efcb..cf7b3b4 100644 --- a/site/src/components/MmpChart.svelte +++ b/site/src/components/MmpChart.svelte @@ -101,10 +101,12 @@ label: 'Duration', tickFormat: (d: number) => formatDuration(d), grid: true, + domain: [data[0]?.d ?? 1, Math.max(7200, ...data.map(d => d.d))], }, y: { label: 'Avg power (W)', grid: true, + domain: [0, null], }, color: { domain: selectedKeys,