From aa57860d06ad3f6a34aab8362e77f6a0437f9626 Mon Sep 17 00:00:00 2001 From: SarahBellaha Date: Tue, 9 Jul 2024 16:37:39 +0200 Subject: [PATCH] front: hide provisional curve in the speed space chart --- .../components/SpeedSpaceChart/d3Helpers.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/front/src/modules/simulationResult/components/SpeedSpaceChart/d3Helpers.ts b/front/src/modules/simulationResult/components/SpeedSpaceChart/d3Helpers.ts index cda7e512fac..d06d3ef5ad9 100644 --- a/front/src/modules/simulationResult/components/SpeedSpaceChart/d3Helpers.ts +++ b/front/src/modules/simulationResult/components/SpeedSpaceChart/d3Helpers.ts @@ -283,17 +283,7 @@ export const drawSpeedSpaceTrain = ( CHART_AXES.SPACE_SPEED, 'speed' ); - if (dataSimulation.standardMarginSpeedData) { - drawCurve( - chartLocal, - 'speed margins', - dataSimulation.standardMarginSpeedData, - 'speedSpaceChart', - 'curveLinear', - CHART_AXES.SPACE_SPEED, - 'margins_speed' - ); - } + // TODO: Add the function to draw the provisional curve when the Gev v2 is implemented if (dataSimulation.schedulePointsMarginSpeedData) { drawCurve( chartLocal,