Home Forums Chart Support Push data to chart Reply To: Push data to chart

#4770

You can an assign an entire array as below – like any other JavaScript array.

var dps = [{x:0, y:3}, {x:1, y:5}, {x:2, y:4}]

The required array can be created within a for loop on the client side or on the server side by directly outputting the values into the HTML page.