Skip to content
Snippets Groups Projects
Commit 9af4027a authored by mathias.chouet's avatar mathias.chouet
Browse files

Fix bug in CourbeRemous chart

parent 1e2b9b12
No related branches found
No related tags found
1 merge request!63Resolve "Passer les courbes de remous en cotes"
......@@ -441,7 +441,7 @@ export class RemousResultsComponent extends ResultsComponent implements DoCheck
}
const x = itX.next();
if (r.getValue("tor") !== undefined) {
maxXtor = x;
maxXtor = x.value;
break;
}
}
......@@ -550,17 +550,17 @@ export class RemousResultsComponent extends ResultsComponent implements DoCheck
const x = itX.next().value;
const yExtra = re.getValue(this._remousResults.extraParamSymbol);
if (yExtra !== undefined) {
lineExtra.mapPoint(x, yExtra);
lineExtra.setPoint(x, yExtra);
}
const yFlu = re.getValue("flu");
if (yFlu !== undefined) {
lineFlu.mapPoint(x, yFlu);
lineFlu.setPoint(x, yFlu);
}
const yTor = re.getValue("tor");
if (yTor !== undefined) {
lineTor.mapPoint(x, yTor);
lineTor.setPoint(x, yTor);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment