This demo shows how you can turn any axis an XY chart to date-base.
To do that, simply set axis'
type parameter to
"date". The chart will automatically try to resolve corresponding values to dates and plot them accordingly.
Please note that if you are specifying your dates in strings, you may need to also set
dataDateFormat so they are parsed correctly.
For an advance version of this demo, with one axis as date-based, while the other as time-based, check this demo.