Update analytics.js

This commit is contained in:
zandercymatics 2025-02-12 10:34:38 -07:00
parent b3a3dcad6d
commit 62a8a0c2a1
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1,8 +1,6 @@
import { debounce } from '../getgov/helpers.js';
import { getParameterByName } from './helpers-admin.js';
/** This function also sets the start and end dates to match the url params if they exist
*/
function initAnalyticsExportButtons() {
@ -94,7 +92,6 @@ function createComparativeColumnChart(id, title, labelOne, labelTwo) {
}
var ctx = canvas.getContext("2d");
var listOne = JSON.parse(canvas.getAttribute('data-list-one'));
var listTwo = JSON.parse(canvas.getAttribute('data-list-two'));