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 @@
}
return newScale;
}
function textFormatted(i) {
var v = isCategory && i < categories.length ? categories[i] : i;
function textFormatted(v) {
return tickFormat ? tickFormat(v) : v;
}
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