This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-sm font-bold text-slate-400 mb-2">Exchanges (optional, komma-separiert)</label>
|
||||
<input type="text" id="customExchanges" class="input-glass" placeholder="z.B. EIX,LS" onchange="updateCustomGraph(); updateUrlParams()">
|
||||
<input type="text" id="customExchanges" class="input-glass" placeholder="z.B. EIX,LS,XETRA,FRA,GETTEX,STU,QUOTRIX" onchange="updateCustomGraph(); updateUrlParams()">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -261,7 +261,8 @@
|
||||
const dates = [...new Set(data.map(r => r[dateIdx]))].sort();
|
||||
|
||||
const datasets = [];
|
||||
const colors = ['#38bdf8', '#f43f5e', '#10b981', '#fbbf24', '#8b5cf6'];
|
||||
// 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'];
|
||||
|
||||
exchanges.forEach((exchange, idx) => {
|
||||
datasets.push({
|
||||
@@ -579,7 +580,8 @@
|
||||
const groups = [...new Set(data.map(r => r[groupIdx]))];
|
||||
const dates = [...new Set(data.map(r => r[xIdx]))].sort();
|
||||
|
||||
const colors = ['#38bdf8', '#f43f5e', '#10b981', '#fbbf24', '#8b5cf6', '#f97316', '#ec4899'];
|
||||
// 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) => ({
|
||||
label: group || 'Unknown',
|
||||
data: dates.map(d => {
|
||||
|
||||
Reference in New Issue
Block a user