From 8045b665c3dd37c7a70cb57037c66b44949bbf0b Mon Sep 17 00:00:00 2001 From: 8Dion8 Date: Fri, 19 Jul 2024 11:33:10 +0300 Subject: [PATCH] fix: timeline barchart y-axis shows more than 1h --- src/visualizations/TimelineBarChart.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visualizations/TimelineBarChart.vue b/src/visualizations/TimelineBarChart.vue index 7481c0f5..6e07e639 100644 --- a/src/visualizations/TimelineBarChart.vue +++ b/src/visualizations/TimelineBarChart.vue @@ -112,7 +112,7 @@ export default { y: { stacked: true, min: 0, - suggestedMax: resolution.startsWith('day') ? 1 : undefined, + max: resolution.startsWith('day') ? 1 : undefined, ticks: { callback: hourToTick, stepSize: resolution.startsWith('day') ? 0.25 : 1,