Hi shreshtha,
It sounds like you want to have both datetime axes and
type property can be used to set axis type to datetime. The rest should work out of the box. If that doesn't work, please provide me with a sample of your data and I'll show you how to create a chart based on that.
Regards!