Home Forums Chart Support Get data from DB

Get data from DB

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

    Dear, i’m try to take data from db.
    Chart is displayed, but has no values/lines … any hint?

    this is the way i populate the array:

    $point = array(“y” => $row[‘euro’] , “label” => $row[name]);
    array_push($data_points, $point);

    #33793

    @guybrush,

    Please take a look at this gallery page for an example on rendering PHP Chart with data from database.

    PHP Chart Data from Database

    If you are still facing issue, kindly create sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with sample database so that we can run it locally at our end to understand the scenario better and help you out.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.