From de35935a2d1d6fface111e615b89562d63c3010c Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 30 May 2025 21:28:15 -0600 Subject: [PATCH] Disable legend clicks in the graphs (closes #4) --- module/Apps/StatsViewer.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/Apps/StatsViewer.mjs b/module/Apps/StatsViewer.mjs index dbe6844..57a1cd8 100644 --- a/module/Apps/StatsViewer.mjs +++ b/module/Apps/StatsViewer.mjs @@ -264,6 +264,11 @@ export class StatsViewer extends HandlebarsApplicationMixin(ApplicationV2) { stacked: table.graph?.stacked ?? false, }, }, + plugins: { + legend: { + onClick: null, + }, + }, }, data: { labels: sortedBucketNames,