Skip to content

Commit

Permalink
set min to lowest value
Browse files Browse the repository at this point in the history
  • Loading branch information
s7tya committed Oct 9, 2024
1 parent 4943e25 commit 8f93b9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/frontend/src/pages/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function render(
},
yAxis: {
title: {text: "Seconds"},
min: 0.1,
min: Math.min(...Object.keys(data).flatMap((key) => data[key])),
type: "logarithmic",
},
xAxis: {
Expand Down Expand Up @@ -101,7 +101,7 @@ function renderRuntime(element: string, data: [number], versions: [string]) {
},
yAxis: {
title: {text: "Miliseconds"},
min: 0.1,
min: Math.min(...formattedData),
type: "logarithmic",
},
xAxis: {
Expand Down

0 comments on commit 8f93b9b

Please sign in to comment.