From f4c534264d101ed452d99ad3b700d140990f30f7 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Tue, 10 Mar 2020 14:23:58 +0100 Subject: [PATCH] Fix #372 - Jet: do not fill under bottom line if ZF < 0 --- .../jet-trajectory-chart/jet-trajectory-chart.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/jet-trajectory-chart/jet-trajectory-chart.component.ts b/src/app/components/jet-trajectory-chart/jet-trajectory-chart.component.ts index 3553da411..d04c5a3d2 100644 --- a/src/app/components/jet-trajectory-chart/jet-trajectory-chart.component.ts +++ b/src/app/components/jet-trajectory-chart/jet-trajectory-chart.component.ts @@ -225,7 +225,7 @@ export class JetTrajectoryChartComponent extends ResultsComponentDirective { tension: 0, spanGaps: true, showLine: "true", - fill: true, + fill: (nub.prms.ZF.singleValue > 0), // if ZF < 0 chartjs "fills" upwards until 0 borderColor: "#753F00", backgroundColor: "#753F00", pointRadius: 0 -- GitLab