From 1049a69cb80b7d10f0926e430d651cfe4144af77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Thu, 31 Jul 2025 23:15:42 +0200 Subject: [PATCH] charts, legend bottom --- static/js/user_expenses.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/static/js/user_expenses.js b/static/js/user_expenses.js index a22cb1e..4cf695d 100644 --- a/static/js/user_expenses.js +++ b/static/js/user_expenses.js @@ -74,20 +74,6 @@ document.addEventListener("DOMContentLoaded", function () { options: { responsive: true, scales: { y: { beginAtZero: true } } - plugins: { - tooltip: { - mode: 'index', - intersect: false, - callbacks: { - label: function (context) { - const value = context.raw; - if (!value) return null; - return `${context.dataset.label}: ${value}`; - } - } - }, - legend: { position: 'bottom' } - }, } }); }