T17: sweep of the WebApp after the feature-parity work
Removed the legacy indicator layout, unused chart helpers, styles and exports, the card-actions component, fetch-all and explanatory comments; one pager shared by the four worklists, shared filter-row styles, one FHIR name and CURP reader, downloads through export/, the concept-map editor on Material controls.
This commit is contained in:
@@ -10,7 +10,12 @@ interface Band {
|
||||
high?: (number | null)[];
|
||||
}
|
||||
|
||||
export function banded(name: string, b: Band, colour: string, dash?: 'dot'): Partial<Plotly.Data>[] {
|
||||
export function banded(
|
||||
name: string,
|
||||
b: Band,
|
||||
colour: string,
|
||||
dash?: 'dot',
|
||||
): Partial<Plotly.Data>[] {
|
||||
const lines: Partial<Plotly.Data>[] = [];
|
||||
if (b.low && b.high) {
|
||||
lines.push({
|
||||
@@ -302,7 +307,6 @@ export function interpretabilityFigures(
|
||||
];
|
||||
}
|
||||
case 'associations': {
|
||||
// Each estimated pair's odds ratio with its 95 % interval, clearest first.
|
||||
const rows = (report['rows'] as any[])
|
||||
.filter((r) => r.odds_ratio !== null)
|
||||
.sort((a, b) => (a.q ?? 1) - (b.q ?? 1));
|
||||
@@ -396,7 +400,6 @@ export function scenarioFigure(
|
||||
points('LR + HBN combinado (IC 95 % bootstrap)', horizons, e.points.COMB),
|
||||
],
|
||||
layout: {
|
||||
// One label per month with every curve's survival there, as percentages.
|
||||
hovermode: 'x unified',
|
||||
xaxis: { title: { text: 'Meses desde el diagnóstico' }, hoverformat: '.0f' },
|
||||
yaxis: { title: { text: yTitle }, tickformat: '.1~%', hoverformat: '.1%' },
|
||||
|
||||
Reference in New Issue
Block a user