improve chart styling
This commit is contained in:
parent
8aaf95c374
commit
9595b406ca
2 changed files with 12 additions and 7 deletions
|
@ -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, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue