From 94829ecafb76db8832aa8782ac8c79e83f7761d6 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 16 Dec 2019 10:18:12 +0100 Subject: [PATCH] Positioning of slot fixed --- Plotter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plotter.js b/Plotter.js index a4d5b8007..bf5265a6c 100644 --- a/Plotter.js +++ b/Plotter.js @@ -577,7 +577,7 @@ function newPlotter () { if (plotterModuleConfig !== undefined) { if (plotterModuleConfig.slot !== undefined) { /* We reset the y coordinate since it will be transformed with another coordinate system to fit into a slot. */ - dataPoint.y = (-1) * y * slotCoordinateSystem.scale.y + (plotterModuleConfig.slot.number - 1) * slotHeight + dataPoint.y = (-1) * y * slotCoordinateSystem.scale.y + (plotterModuleConfig.slot.number - 1) * slotHeight + viewPort.visibleArea.topLeft.y } } }