20261118 Color Fix
This commit is contained in:
@@ -43,7 +43,7 @@ export function stratifiedBars(data: IndicadorDatos, dimension: DimensionEstrato
|
||||
if (new Set(categories.map(([, c]) => c.label)).size !== categories.length) throw new Error('Etiquetas ambiguas');
|
||||
const cells: StratifiedCell[] = [];
|
||||
const theme = c2Theme(tema);
|
||||
const palette = seriesColors(categories.map(([, c]) => c.color));
|
||||
const palette = seriesColors(categories.map(([, c]) => c.color), categories.map(([id]) => id));
|
||||
const figure: PlotlyFigure = { data: strata.map((s, series) => {
|
||||
const selected = categories.map(([id, c]) => {
|
||||
const row = rows.get(JSON.stringify([id, s]));
|
||||
|
||||
Reference in New Issue
Block a user