F4: TEA indicators display after review

- Prevalencia registrada (M31): the sex selector, its signal and the bar outline highlight are gone; the headline always shows the total rate and the bars keep one bar per sex
- Indicadores de oportunidad: the box charts show Q3, Mediana and Q1 in the hover, formatted with the shared one-decimal hover format, instead of annotations
- Porcentaje de confirmacion diagnostica (M24): the stacked bars, axis title, ticks, bar text and hover are in percent of the patients of each sex and age group
- Porcentaje de pacientes con / sin EEG (M21, M22): bar text shows the percentage only
- Headroom: the shared percent axis now ends at 110 with ticks every 20, and the shared plot builder never clips bar labels (cliponaxis false for every bar trace), so a 100 % bar keeps its label; the per-trace cliponaxis on the bar builders was removed
- Indicadores clinicos: route, grid and figure-row charts all use one height (430 px, was 300/320/360)

Choices: percent axis headroom lives in percentAxis, with rate dots keeping their own 0-100 range; the clinical height is a single component constant.
This commit is contained in:
2026-12-03 17:02:21 -06:00
parent dca39203d2
commit 3154ba92df
5 changed files with 78 additions and 98 deletions
+3 -12
View File
@@ -90,7 +90,7 @@
@if (reports.isLoading()) {
<app-loading what="los tiempos de la ruta" [figure]="true" />
} @else if (routeOf(section); as fig) {
<app-plot [figure]="fig" [height]="300" />
<app-plot [figure]="fig" [height]="clinicalHeight" />
} @else {
<p class="state">Sin tiempos publicados en el periodo.</p>
}
@@ -137,15 +137,6 @@
<h2 class="box-title">{{ f.title }}</h2>
<p class="state">Filtro general aplicado: {{ period }}</p>
@if (f.kind === 'sex-bars') {
<mat-button-toggle-group
aria-label="Sexo"
[value]="prevalenceSex()"
(change)="prevalenceSex.set($event.value)"
>
<mat-button-toggle [value]="undefined">Ambos sexos</mat-button-toggle>
<mat-button-toggle value="female">Femenino</mat-button-toggle>
<mat-button-toggle value="male">Masculino</mat-button-toggle>
</mat-button-toggle-group>
@if (prevalenceOf(f); as p) {
<div class="kpi-value">
{{ p.value }}
@@ -156,7 +147,7 @@
@if (reports.isLoading()) {
<app-loading what="la figura" [figure]="true" />
} @else if (figureOf(f); as fig) {
<app-plot [figure]="fig" [height]="320" />
<app-plot [figure]="fig" [height]="clinicalHeight" />
} @else {
<div class="empty-figure">Sin datos publicados</div>
}
@@ -228,7 +219,7 @@
@if (reports.isLoading()) {
<app-loading what="la figura" [figure]="true" />
} @else if (figureOf(f); as fig) {
<app-plot [figure]="fig" [height]="360" />
<app-plot [figure]="fig" [height]="clinicalHeight" />
} @else {
<p class="state">Sin datos en el periodo.</p>
}