Hi, I’m trying to use CanvasJS to create a chart, and want to inject the data into it from a piece of Java code. I want to be able to push the data from a POJO set as an attribute of the HttpRequest, or something similar. What’s the best way to do that?
I’ve seen that I can use
var dps = [];
dps.push(x:0, y:other[0]});
but that only adds one point at a time, I want to set the entire series in a single assignment.