Commit fef74579 authored by Jason Xun Xu's avatar Jason Xun Xu

Fixed using numeric values as category names.

parent 18feffab
...@@ -4897,8 +4897,7 @@ ...@@ -4897,8 +4897,7 @@
} }
return newScale; return newScale;
} }
function textFormatted(i) { function textFormatted(v) {
var v = isCategory && i < categories.length ? categories[i] : i;
return tickFormat ? tickFormat(v) : v; return tickFormat ? tickFormat(v) : v;
} }
function axis(g) { function axis(g) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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