Hi guys,
Can someone guide me on how to convert long datapoints into arrays as i have a long list to plot and i hope of an easier way to loop instead of typing x 50 times.
Currently, i have datapoints with x which increment of .25 and y of a formula –
Example:
dataPoints: [
{ x: 0, y: 1000*(0.5/(50*0.6))* (Math.exp(-((6)/(50*0.6)*0))) }
];
link here: http://jsfiddle.net/QwZuf/95/
Thank you!