mirror of
https://github.com/gnmyt/myspeed.git
synced 2026-04-24 21:49:25 -05:00
Update Statistics.jsx
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user