Home forums Using CanvasJS Canvas JS data sampling in php

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #29068

    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']));


    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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.