score:1

Accepted answer

you are correct. the reason the y axis is not displaying is because of the strings in your data. (which should be read as numbers)

you have to convert your data from strings to an array of numbers which can be achieved with the following

s5 = s5.map(number);

this is an example jsfiddle which shows it in action http://jsfiddle.net/e803sjsp/

score:0

a bit cheeky but have you checked that s5 is actually an array and not a string of comma separated values. you might want to try a console.log to be sure..


Related Query

More Query from same tag