20261118 colorfix front
Cambio de los colores de las graficas para tener una mejor armonía de colores y evitar el uso de la unión de colores que interpreten ideas falsas
This commit is contained in:
@@ -21,7 +21,7 @@ const EVENT_LABELS: Readonly<Record<string, readonly [string, string]>> = {
|
||||
M22_diagnosticados_sin_eeg: ['Sin EEG', 'Con EEG'],
|
||||
M24_confirmacion_diagnostico: ['Diagnóstico confirmado', 'En proceso'],
|
||||
};
|
||||
// Green for the event, red for its complement; age groups get lighter shades.
|
||||
// Olive for the event, the next series colour for its complement; age groups keep their own colours.
|
||||
const RING_COLORS = [C2_PALETTE.series[0], C2_PALETTE.series[1]] as const;
|
||||
// One colour per age group, the same in the donut (M21) and the bars (M22).
|
||||
const ageColor = (i: number) => C2_PALETTE.edades[i % C2_PALETTE.edades.length];
|
||||
|
||||
Reference in New Issue
Block a user