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

Close #927 
Close #683