Fix different handling for X and Y thin out coef

parent f238b97f
......@@ -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 {
......
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