Commit ed867605 authored by Mathieu Giraud's avatar Mathieu Giraud

js/scatterPlot.js: updateMenu(), skip hidden axis

Closes #3418.
parent c1356a0f
Pipeline #36127 passed with stages
in 35 seconds
...@@ -1805,6 +1805,8 @@ ScatterPlot.prototype = { ...@@ -1805,6 +1805,8 @@ ScatterPlot.prototype = {
var select_y = 0 var select_y = 0
var i=0; var i=0;
for (var key in this.available_axis) { for (var key in this.available_axis) {
if (typeof this.available_axis[key].hide !== "undefined" && this.available_axis[key].hide)
continue;
if (key == this.splitX) select_x = i if (key == this.splitX) select_x = i
if (key == this.splitY) select_y = i if (key == this.splitY) select_y = i
i++; i++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment