Fix CategoryAxis behavior with non-string data. Close #927

Close #927 
auto-generated