Skip to content
Snippets Groups Projects

Fonctionnalité de zoom sur le profil de la passe

4 files
+ 71
33
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -136,7 +136,6 @@ export class PabProfileGraphComponent extends ResultsComponent {
}
private zoomComplete() {
console.log("zoom complete du Q !");
this._zoomWasChanged = true;
this.cd.detectChanges();
}
@@ -170,33 +169,6 @@ export class PabProfileGraphComponent extends ResultsComponent {
showLine: "true"
});
}
/* const that = this;
this.graph_options["tooltips"] = {
displayColors: false,
callbacks: {
title: (tooltipItems, data) => {
return this.chartY + " = " + Number(tooltipItems[0].yLabel).toFixed(nDigits);
},
label: (tooltipItem, data) => {
const lines: string[] = [];
const nbLines = that._results.getVariatingParametersSymbols().length;
for (const v of that._results.getVariatingParametersSymbols()) {
const series = that._results.getValuesSeries(v);
const line = v + " = " + series[tooltipItem.index].toFixed(nDigits);
if (v === this.chartX) {
if (nbLines > 1) {
lines.unshift("");
}
lines.unshift(line);
} else {
lines.push(line);
}
}
return lines;
}
}
}; */
}
public exportAsImage(element: HTMLDivElement) {
Loading