Correct work with no tick text at all

parent 9c369b7e
......@@ -327,6 +327,7 @@ function c3_axis(d3, params, $$) {
case 'top':
case 'bottom':
rectPositionFn = function(rect, d) {
if(!rect) return;
rect.x = scale1(d);
rect.y = 0;
}
......@@ -334,6 +335,7 @@ function c3_axis(d3, params, $$) {
case 'left':
case 'right':
rectPositionFn = function(rect, d) {
if(!rect) return;
rect.x = 0;
rect.y = scale1(d);
}
......
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