@darshan-jain,
Chart seems to be working fine with all the sets of dataPoints that you have shared. Can you kindly create a JSFiddle reproducing the issue you’re facing so that we can look into the code, understand it better and help you out?
____
Shashi Ranjan
Team CanvasJS