@patricia-krupa,
You can pass x-values as either timestamp or in valid date format to use date-time over axisX. Also to set the type of the axisX interval you can use intervalType.
If this doesn’t solve your requirement, can you kindly create a jsfiddle so that we can look into it and help you out better.
___
Suyash Singh
Team CanvasJS