improve chart styling

This commit is contained in:
xenofem 2022-04-15 03:15:24 -04:00
parent 8aaf95c374
commit 9595b406ca
2 changed files with 12 additions and 7 deletions

View file

@ -107,7 +107,7 @@ function plot(data) {
const northCtx = document.getElementById('northCanvas');
const southCtx = document.getElementById('southCanvas');
let options = {
maintainAspectRatio: false,
aspectRatio: 1,
interaction: {
intersect: false,
},
@ -127,6 +127,11 @@ function plot(data) {
text: 'Wastewater COVID RNA Signal (copies/mL)',
},
},
elements: {
pointWithErrorBar: {
errorBarWhiskerSize: 5,
},
},
};
const northChart = new Chart(northCtx, {