@manjitbang,
CanvasJS charts accept only numeric input to Y values of dataPoints.
In the code that you have shared, parsing the data you get from JSON to float using parseFloat should work fine. Please take a look at this jsfiddle.
__
Priyanka M S
Team CanvasJS