Gobernanza: Analizar EEG leads to Estudios EEG, which hosts the single-study evaluation; the timeline is only a dotted line; the probability curve and the age-norm bands are drawn from the model and the centiles

This commit is contained in:
2026-12-01 18:25:08 -06:00
parent f7eb170e15
commit 98eda5bc28
14 changed files with 187 additions and 141 deletions
+3 -2
View File
@@ -5,6 +5,7 @@ import type { Catalog, Category, HistoryPanel } from './pages';
const OLIVE = '#A8C243';
const ROSE = '#C24269';
export const SHORT = '.1~f';
const SIGNIFICANT = '.2~r';
export const percentAxis = {
type: 'linear' as const,
ticksuffix: ' %',
@@ -443,8 +444,8 @@ export function valueAxis(values: Iterable<number | null | undefined>) {
const narrow = found.length > 0 && Math.max(...found) - Math.min(0, ...found) <= 5;
return {
type: 'linear' as const,
tickformat: counts ? 'd' : SHORT,
hoverformat: counts ? 'd' : SHORT,
tickformat: counts ? 'd' : SIGNIFICANT,
hoverformat: counts ? 'd' : '.3~r',
...(counts && narrow ? { dtick: 1 } : {}),
};
}