`getXValue` fails when x is 0

`getXValue` returns the index when x is specifically 0, because it's falsey. Fixed that by checking the specific case.
I have not updated c3.min.js.