Commit 0809fbff authored by Mathieu Giraud's avatar Mathieu Giraud

js/scatterPlot.js: changeSplitMethod(), check

parent 5163573d
......@@ -1719,10 +1719,12 @@ ScatterPlot.prototype = {
if (typeof reverse === "undefined") reverse = false;
var axis;
var aa = this.available_axis[splitMethod]
if (aa !== undefined) {
axis = aa.axis;
if (aa == undefined) {
console.log('Undefined axis: ' + splitMethod)
return
}
axis = aa.axis;
axis.reverse = reverse;
axis.init(this.m.clones, aa.fct, aa.labels, aa.sort, aa.min, aa.max, aa.log, aa.display_label);
......
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