Make traffic bar chart bars connected with no gaps

This commit is contained in:
Graham McIntire 2026-01-05 13:40:44 -06:00
parent ce7988b10d
commit abe4cb6845
No known key found for this signature in database

View file

@ -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,