diff --git a/dashboard/public/index.html b/dashboard/public/index.html index ea691bd..cdb41ce 100644 --- a/dashboard/public/index.html +++ b/dashboard/public/index.html @@ -483,7 +483,23 @@ if (charts.continent) charts.continent.destroy(); charts.continent = new Chart(contCtx, { type: 'doughnut', - data: { labels: store.summary.map(r => r[0]), datasets: [{ data: store.summary.map(r => r[2]), backgroundColor: ['#38bdf8', '#fbbf24', '#f43f5e', '#10b981', '#8b5cf6'], borderWidth: 0 }] }, + data: { + labels: store.summary.map(r => r[0]), + datasets: [{ + data: store.summary.map(r => r[2]), + backgroundColor: [ + '#38bdf8', // Blue + '#f43f5e', // Red + '#10b981', // Green + '#fbbf24', // Yellow + '#8b5cf6', // Purple + '#f97316', // Orange + '#475569', // Slate (for Unknown - high contrast) + '#ec4899' // Pink + ], + borderWidth: 0 + }] + }, options: { responsive: true, maintainAspectRatio: false, cutout: '75%', plugins: { legend: { position: 'right', labels: { color: '#94a3b8' } } } } }); }