Update Statistics.jsx

This commit is contained in:
Mathias Wagner
2024-08-03 15:40:29 +02:00
parent f1833615bf
commit a4656aa10d
+2 -2
View File
@@ -1,5 +1,5 @@
import {
ArcElement,
ArcElement, BarElement,
CategoryScale,
Chart as ChartJS,
Legend,
@@ -30,7 +30,7 @@ const generatePath = (level = 1) => {
return 30;
}
ChartJS.register(ArcElement, Tooltip, CategoryScale, LinearScale, PointElement, LineElement, Title, Legend, RadialLinearScale);
ChartJS.register(ArcElement, Tooltip, CategoryScale, LinearScale, PointElement, LineElement, Title, Legend, BarElement, RadialLinearScale);
ChartJS.defaults.color = "#B0B0B0";
ChartJS.defaults.font.color = "#B0B0B0";
ChartJS.defaults.font.family = "Inter, sans-serif";