Fix: Analytics Worker berechnet jetzt alle Tabellen pro Tag
All checks were successful
Deployment / deploy-docker (push) Successful in 16s
All checks were successful
Deployment / deploy-docker (push) Successful in 16s
This commit is contained in:
@@ -665,9 +665,14 @@
|
||||
const groupIdx = columns.findIndex(c => c.name === 'group_value');
|
||||
const yIdx = columns.findIndex(c => c.name === 'y_value');
|
||||
|
||||
const groups = [...new Set(data.map(r => r[groupIdx]))];
|
||||
const groups = [...new Set(data.map(r => r[groupIdx]).filter(g => g && g !== '' && g !== 'NONE'))];
|
||||
const dates = [...new Set(data.map(r => r[xIdx]))].sort();
|
||||
|
||||
if (groups.length === 0) {
|
||||
console.log('No valid groups found in data');
|
||||
return;
|
||||
}
|
||||
|
||||
// Erweiterte Farben für mehr Exchanges (EIX, LS, XETRA, FRA, GETTEX, STU, QUOTRIX)
|
||||
const colors = ['#38bdf8', '#f43f5e', '#10b981', '#fbbf24', '#8b5cf6', '#f97316', '#ec4899', '#14b8a6', '#84cc16', '#a855f7'];
|
||||
const datasets = groups.map((group, idx) => ({
|
||||
|
||||
Reference in New Issue
Block a user