Dash formatting x-axis of timeseries incorrectly

as posted on stackoverflow earlier…any help would be greatly appreciated, thanks.

See the answer on SO, hope it helps.

To save checking SO…my comments:

Thank you very much, from previous searches I was sent down the ‘object has become incorrect type route’…which was obviously a red herring. What is completely mad is that the test you suggest returns True, but after running an extra line ( df = df.sort_values(by=‘Date’)) and plotting the graph, everything is displaying correctly. Some pretty weird behaviour… but thank you nonetheless for pointing me in (obvious!) direction.

glad it solved your problem!