@akshay30498,
It seems like you are passing invalid x-values to chart. Passing valid number to x-value of dataPoint should work fine in your case.
If this doesn’t solve your requirement, please share a jsfiddle so that we can understand your requirement better and help you out.
__
Priyanka M S
Team CanvasJS