Commit cc0c6bad authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/numerical_axis.js: less differences between Numeric and Float

Follows 5206c45d. See #2703.
parent 8aab651c
......@@ -151,10 +151,11 @@ NumericalAxis.prototype = Object.create(GenericAxis.prototype);
var clone = this.clones[idx];
if(!clone.isVirtual()) {
var value = this.applyConverter(clone);
if (typeof value == "undefined" || typeof this.value_mapping[value] == "undefined") {
if (typeof value == "undefined" || value == undefined || value == "undefined") {
if (this.can_undefined)
this.value_mapping["?"].push(clone);
}else{
this.value_mapping[value] = this.value_mapping[value] || []
this.value_mapping[value].push(clone);
}
}
......
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