fixed dashboard - updated analytics to include sectors instead of isin
Some checks failed
Deployment / deploy-docker (push) Has been cancelled

This commit is contained in:
Melchior Reimers
2026-02-03 14:05:26 +01:00
parent f608f7ca40
commit 740999b68e

View File

@@ -176,7 +176,7 @@
<label class="block text-sm font-bold text-slate-400 mb-2">Gruppierung</label> <label class="block text-sm font-bold text-slate-400 mb-2">Gruppierung</label>
<select id="customGroupBy" class="input-glass" onchange="updateCustomGraph(); updateUrlParams()"> <select id="customGroupBy" class="input-glass" onchange="updateCustomGraph(); updateUrlParams()">
<option value="exchange">Exchange</option> <option value="exchange">Exchange</option>
<option value="isin">ISIN</option> <option value="sector">Sektor</option>
<option value="date">Datum</option> <option value="date">Datum</option>
</select> </select>
<p class="text-xs text-slate-500 mt-1" id="groupByDescription"></p> <p class="text-xs text-slate-500 mt-1" id="groupByDescription"></p>
@@ -857,8 +857,8 @@
} }
}); });
document.getElementById('customGraphTitle').innerText = document.getElementById('customGraphTitle').innerText =
`${yAxisLabel} nach ${groupBy === 'exchange' ? 'Exchange' : groupBy === 'isin' ? 'ISIN' : 'Datum'} (${dateFrom} bis ${dateTo})`; `${yAxisLabel} nach ${groupBy === 'exchange' ? 'Exchange' : groupBy === 'sector' ? 'Sektor' : 'Datum'} (${dateFrom} bis ${dateTo})`;
} catch (err) { } catch (err) {
console.error('Error loading custom analytics:', err); console.error('Error loading custom analytics:', err);
} }