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 =;

this is an example jsfiddle which shows it in action


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