fixed dashboard - updated analytics to include sectors instead of isin
Some checks failed
Deployment / deploy-docker (push) Has been cancelled
Some checks failed
Deployment / deploy-docker (push) Has been cancelled
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
<label class="block text-sm font-bold text-slate-400 mb-2">Gruppierung</label>
|
||||
<select id="customGroupBy" class="input-glass" onchange="updateCustomGraph(); updateUrlParams()">
|
||||
<option value="exchange">Exchange</option>
|
||||
<option value="isin">ISIN</option>
|
||||
<option value="sector">Sektor</option>
|
||||
<option value="date">Datum</option>
|
||||
</select>
|
||||
<p class="text-xs text-slate-500 mt-1" id="groupByDescription"></p>
|
||||
@@ -857,8 +857,8 @@
|
||||
}
|
||||
});
|
||||
|
||||
document.getElementById('customGraphTitle').innerText =
|
||||
`${yAxisLabel} nach ${groupBy === 'exchange' ? 'Exchange' : groupBy === 'isin' ? 'ISIN' : 'Datum'} (${dateFrom} bis ${dateTo})`;
|
||||
document.getElementById('customGraphTitle').innerText =
|
||||
`${yAxisLabel} nach ${groupBy === 'exchange' ? 'Exchange' : groupBy === 'sector' ? 'Sektor' : 'Datum'} (${dateFrom} bis ${dateTo})`;
|
||||
} catch (err) {
|
||||
console.error('Error loading custom analytics:', err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user