diff --git a/assets/js/app.js b/assets/js/app.js index 8b9bf377..761cedb2 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -149,6 +149,9 @@ const SensorChart = { options: { responsive: true, maintainAspectRatio: false, + // Make bars connect with no gaps for traffic charts + barPercentage: chartType === 'bar' ? 1.0 : undefined, + categoryPercentage: chartType === 'bar' ? 1.0 : undefined, interaction: { mode: 'index', intersect: false,