From a58cd01ae2d5a8f532fa725562c75c855ba68807 Mon Sep 17 00:00:00 2001 From: imperosol Date: Wed, 23 Sep 2026 08:40:08 +0200 Subject: [PATCH] show tooltips on subscription chart hover --- .../static/bundled/subscription/stats-index.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/subscription/static/bundled/subscription/stats-index.ts b/subscription/static/bundled/subscription/stats-index.ts index 3fc992b3..fef50d1b 100644 --- a/subscription/static/bundled/subscription/stats-index.ts +++ b/subscription/static/bundled/subscription/stats-index.ts @@ -1,6 +1,13 @@ -import { BarController, BarElement, CategoryScale, Chart, LinearScale } from "chart.js"; +import { + BarController, + BarElement, + CategoryScale, + Chart, + LinearScale, + Tooltip, +} from "chart.js"; -Chart.register(BarController, BarElement, CategoryScale, LinearScale); +Chart.register(BarController, BarElement, CategoryScale, LinearScale, Tooltip); function getRandomColor() { const letters = "0123456789ABCDEF";