diff --git a/demo-only.html b/demo-only.html index ebd547b..a7858b8 100755 --- a/demo-only.html +++ b/demo-only.html @@ -21,7 +21,7 @@
-
+
- +
diff --git a/ngchm.js b/ngchm.js index e066d5f..5fbf16f 100644 --- a/ngchm.js +++ b/ngchm.js @@ -121,7 +121,7 @@ VAN.addMessageListener ('plot', function plotMessageHandler (vanodi) { canvasPlot.selectedPointIds = vanodi.data.axes[0].selectedLabels ? vanodi.data.axes[0].selectedLabels : [] canvasPlot.drawPlot(canvasPlot.data, ScatterPlot.plotGeometry, ScatterPlot.plotOptions, ScatterPlot.colorMap); slider.oninput = $.debounce(1000, function() { - canvasPlot.plotOptions.pointSize = this.value; + canvasPlot.plotOptions.pointSize = this.value * 0.5; canvasPlot.drawPlot(canvasPlot.data, canvasPlot.plotGeometry, canvasPlot.plotOptions, ScatterPlot.colorMap) }) var reset = document.getElementById('reset-button');