Home Forums Chart Support PRIMO UTILIZZO DEI GRAFICI DI ESEMPIO

PRIMO UTILIZZO DEI GRAFICI DI ESEMPIO

Viewing 4 posts - 1 through 4 (of 4 total)
  • #60614

    Buongiorno. Ho scaricato i vostri file di esempio ed ho importato il database. Vorrei sapere dove devo modificare i dati per fare la connessione con il database. Grazie

    #60625

    @rolly,

    Can you please let us know the server side technology being used by you so that we can understand your scenario better and help you with the appropriate steps to integrate in your application?

    —-
    Manoj Mohan
    Team CanvasJS

    #60627

    Io vorrei usare la piattaforma ALTERVISTA

    #60629

    @rolly,

    To integrate CanvasJS with your PHP application, you can check out this gallery example. To know about the connection changes that need to be done, please take a look at the below lines in the example shown.

    
    // Creating a new connection.
    // Replace your-hostname, your-db, your-username, your-password according to your database
    $link = new \PDO(   'mysql:host=your-hostname;dbname=your-db;charset=utf8mb4', //'mysql:host=localhost;dbname=canvasjs_db;charset=utf8mb4',
                     'your-username', //'root',
                     'your-password', //'',
                     array(
      \PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
       \PDO::ATTR_PERSISTENT => false
      )
    );
    

    Also check out this forum thread for more information about integrating CanvasJS with PHP.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.