You must be logged in to post your query.
Home › Forums › Chart Support › Canvas JS data sampling in php
Tagged: canvasjs, yii2
How to plot the difference between two points along with the date-time range as shown in the below link?
foreach ($model as $row) { // pushing for kwh values array_push($dataPointskWh, array("label"=>$row['Data_Date_Time'],"y"=>$row['kWh'])); }
@fasi,
Can you kindly create a sample project reproducing the issue and share it with us over Google-Drive or Onedrive along with the sample data/database so that we can look into the code, run it locally to understand the scenario better and help you resolve?
— Shashi Ranjan Team CanvasJS
You must be logged in to reply to this topic. Login/Register