Commit f238b97f authored by Dmitry Nikulin's avatar Dmitry Nikulin

Fix ticks not being drawn

parent f9f0ece1
......@@ -8623,7 +8623,7 @@
var coef = $$.getXThinOutCoef();
line.style('display', function(d, i){
return (i-indexOfZero)%coef == 0 ? 'block' : 'none';
return (i-indexOfZero)%coef !== 0 ? 'block' : 'none';
});
}
} else {
......@@ -8631,7 +8631,7 @@
var coef = $$.getYThinOutCoef();
line.style('display', function(d, i){
return (i-indexOfZero)%coef == 0 ? 'none' : 'block';
return (i-indexOfZero)%coef !== 0 ? 'none' : 'block';
});
}
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -256,7 +256,7 @@ function c3_axis(d3, params, $$) {
var coef = $$.getXThinOutCoef();
line.style('display', function(d, i){
return (i-indexOfZero)%coef == 0 ? 'block' : 'none';
return (i-indexOfZero)%coef !== 0 ? 'block' : 'none';
});
}
} else {
......@@ -264,7 +264,7 @@ function c3_axis(d3, params, $$) {
var coef = $$.getYThinOutCoef();
line.style('display', function(d, i){
return (i-indexOfZero)%coef == 0 ? 'none' : 'block';
return (i-indexOfZero)%coef !== 0 ? 'none' : 'block';
});
}
}
......
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