How to center ticks on X axis in Histogram?


Can anyone help me figuring out how to custom x axis ticks on a Histogram?
After this: Ticks on Histogram

How can I make those ticks to be (0, 1, 2) and to be in the center (between the blow and the red bars)?


Why not use bar charts?

That is the temporal solution I am doing but why not use the tool of histogram that will compute the occurrences for you?