Spaces:
Running
Running
style: Set dark background for chart legends
Browse files- index.html +1 -1
index.html
CHANGED
@@ -477,7 +477,7 @@
|
|
477 |
// Plotly layout defaults (same as before)
|
478 |
const baseLayout = {
|
479 |
margin: { l: 60, r: 30, b: 100, t: 60, pad: 4 },
|
480 |
-
legend: { bgcolor: '
|
481 |
colorway: ['#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7f7f', '#bcbd22', '#17becf'],
|
482 |
paper_bgcolor: 'rgba(0,0,0,0)',
|
483 |
plot_bgcolor: 'rgba(0,0,0,0)',
|
|
|
477 |
// Plotly layout defaults (same as before)
|
478 |
const baseLayout = {
|
479 |
margin: { l: 60, r: 30, b: 100, t: 60, pad: 4 },
|
480 |
+
legend: { bgcolor: 'var(--card-bg-color)', bordercolor: 'var(--border-color)', borderwidth: 1 },
|
481 |
colorway: ['#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7f7f', '#bcbd22', '#17becf'],
|
482 |
paper_bgcolor: 'rgba(0,0,0,0)',
|
483 |
plot_bgcolor: 'rgba(0,0,0,0)',
|