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>
|
<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>
|
||||||
@@ -858,7 +858,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user