Ajustar indicadores, fecha de corte y ficha de CaMa y CaCu
This commit is contained in:
@@ -16,7 +16,10 @@ export interface CurveModel {
|
||||
|
||||
const percent = (n: number) =>
|
||||
(Math.round(n * 1000) / 10).toLocaleString('es-MX', { minimumFractionDigits: 1 });
|
||||
const title = (m: CurveModel) => m.text.replace(/ v\d+$/, '');
|
||||
const title = (m: CurveModel) =>
|
||||
m.text
|
||||
.replace(/ v\d+$/, '')
|
||||
.replace(/riesgo/gi, (word) => (word[0] === 'R' ? 'Probabilidad' : 'probabilidad'));
|
||||
const interval = (p: CurvePrediction) => p.low !== undefined && p.high !== undefined;
|
||||
|
||||
/** The institutional models' risk by horizon: one series per model, drawn only at the horizons it
|
||||
|
||||
Reference in New Issue
Block a user