Commit 5b9ff659 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

axis.js: Force displaying '?' on tick

When having undefined values we want a tick showing that those clones
have an undefined value. So, even if we should not put a tick now, we do
so (which may be not very nice…)
parent dc6d76e4
......@@ -341,7 +341,7 @@ Axis.prototype = {
var i=1
for (var e in tab){
if (i%step == 0 ){
if (i%step == 0 || (e == '?' && tab[e].length > 0)){
var pos = this.posBarLabel(i, length);
if (this.reverse) pos = 1 - pos;
this.labels.push(this.label("line", pos, e));
......
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