Fixing bigs in macros

This commit is contained in:
Ronan Berder
2025-06-08 12:32:52 +08:00
parent e2dcbcb4dd
commit cdc52a810e
8 changed files with 289 additions and 18 deletions
+3 -3
View File
@@ -782,9 +782,9 @@ const doughnutData = {
data: chartDataDoughnut.map(d => d.visitors),
backgroundColor: chartDataDoughnut.map(d => d.fill),
borderColor: themeColors.background, // Use background for border
borderWidth: 2, // Add border between segments
borderWidth: 0, // Add border between segments
hoverBorderColor: themeColors.background,
hoverBorderWidth: 2
hoverBorderWidth: 0
}]
};
@@ -793,7 +793,7 @@ const doughnutConfig = {
type: 'doughnut',
data: doughnutData,
options: {
cutout: '50%', // Adjust hole size
cutout: '70%', // Adjust hole size
plugins: {
legend: {
display: false, // Hide default legend