Spacing the x-axis labels in Bokeh

I have a lot of time labels on the x-axis, but at low zoom they are stuck together. I searched a lot but could not solve this problem.

Someone answered the question in Stackoverflow:
You have left the values as strings so that is a categorical axis, not a datetime axis. You should convert the x values to be datetimes and use a proper datetime axis .
more information: