diff --git a/src/c3.axis.js b/src/c3.axis.js index 6d4f7a3..a296c1d 100644 --- a/src/c3.axis.js +++ b/src/c3.axis.js @@ -49,7 +49,7 @@ function c3_axis(d3, params) { } function textFormatted(v) { var formatted = tickFormat ? tickFormat(v) : v; - return typeof formatted !== 'undefined' ? formatted : ''; + return typeof formatted !== 'undefined' ? formatted.toString() : ''; } function getSizeFor1Char(tick) { if (tickTextCharSize) {