| 1 | /** Palette condivisa per grafici dashboard (segmenti pie, barre distribuite, …). */ |
| 2 | export const CHART_COLORS = [ |
| 3 | "#8a3ffc", |
| 4 | "#33b1ff", |
| 5 | "#007d79", |
| 6 | "#ff7eb6", |
| 7 | "#fa4d56", |
| 8 | "#fff1f1", |
| 9 | "#6fdc8c", |
| 10 | "#4589ff", |
| 11 | "#d12771", |
| 12 | "#d2a106", |
| 13 | "#08bdba", |
| 14 | "#bae6ff", |
| 15 | "#ba4e00", |
| 16 | "#d4bbff" |
| 17 | ] as const |
| 18 | |
| 19 | /** ECharts 6: equivalente a `grid.containLabel: true` senza il plugin legacy. */ |
| 20 | export const CHART_GRID_CONTAIN_AXIS_LABELS = { |
| 21 | outerBoundsMode: "same", |
| 22 | outerBoundsContain: "axisLabel" |
| 23 | } as const |