I am working on yii2. In my javascript, I have a formula through which I am getting some data. The data is then passed to chart and chart renders it. var arry_kwh = []; arry_kwh =
Tag: canvasjs
assign json object to javascript variable in CanvasJS
Im trying to assign a json object to a variable. Im not sure how to accomplish this. This is my JSON array: [{ “Date”: “2020-01-24 07:35:46”, “sensorName”: “sensor 1”, “sensorValue”: 213 …