id update

This commit is contained in:
Jonathan Bobel
2024-05-30 10:22:58 -04:00
parent 4b622fcfdc
commit 8331456318
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
document.addEventListener('DOMContentLoaded', function () {
var canvas = document.getElementById('myChart');
var canvas = document.getElementById('totalMessageChart');
var ctx = canvas.getContext('2d');
// Set explicit dimensions for the canvas
canvas.width = canvas.parentElement.clientWidth;