From 996a5fed88ddbcebe3121e5922702f232efc848a Mon Sep 17 00:00:00 2001 From: alberto Date: Thu, 3 Dec 2026 17:03:08 -0600 Subject: [PATCH] Percent axis range is a tuple; the alterations chart takes the shared percent range --- src/app/indicadores/figures.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/indicadores/figures.ts b/src/app/indicadores/figures.ts index fc2edd8..454d607 100644 --- a/src/app/indicadores/figures.ts +++ b/src/app/indicadores/figures.ts @@ -11,7 +11,7 @@ export const percentAxis = { ticksuffix: ' %', tickformat: '.0f', hoverformat: SHORT, - range: [0, 110], + range: [0, 110] as [number, number], dtick: 20, }; @@ -714,7 +714,6 @@ export function teaAlterations(r: Reading): Figure { layout: { xaxis: { type: 'category', title: { text: 'Alteración del EEG' } }, yaxis: { - range: [0, 100], ...percentAxis, title: { text: '% de niños con EEG de buena calidad' }, },