diff --git a/src/app/components/pab-profile-graph/pab-profile-graph.component.ts b/src/app/components/pab-profile-graph/pab-profile-graph.component.ts index 526b2d9fd1105dff3ed47a0a98a594810420a199..4eb60ec9a1bd2d94f30058610f5e28010f26f54d 100644 --- a/src/app/components/pab-profile-graph/pab-profile-graph.component.ts +++ b/src/app/components/pab-profile-graph/pab-profile-graph.component.ts @@ -88,12 +88,12 @@ export class PabProfileGraphComponent extends ResultsComponent { this.graph_options["plugins"] = { zoom: { pan: { - enabled: true, + enabled: false, // conflicts with drag zoom mode: "xy", }, zoom: { enabled: true, - drag: false, // conflicts with pan; set to false to enable mouse wheel zoom + drag: true, // conflicts with pan; set to false to enable mouse wheel zoom mode: "xy", // percentage of zoom on a wheel event speed: 0.1, diff --git a/src/app/formulaire/definition/concrete/form-pab.ts b/src/app/formulaire/definition/concrete/form-pab.ts index 898f542172bfdf2af0755e627ff7799dd5b2b7b0..aa5bac6865d805850182ac1912022910e9bc3568 100644 --- a/src/app/formulaire/definition/concrete/form-pab.ts +++ b/src/app/formulaire/definition/concrete/form-pab.ts @@ -23,10 +23,10 @@ export class FormulairePab extends FormulaireBase { return this.currentNub as Pab; } - public doCompute() { + /* public doCompute() { this.dumpPabStructure(this.pabNub); super.doCompute(); - } + } */ // debug method private dumpPabStructure(pab: Pab) {