Home forums Using CanvasJS how to create dynamic graph using cron job

This topic contains 1 reply, has 2 voices, and was last updated by  Manoj Mohan 4 months, 2 weeks ago.

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

    I have users traffic details .I want to create dynamically users traffic chart and save as image every end end of the month.how to do that please help.

    #25399

    @shibsankar-jana,

    Please refer this article for executing JavaScript inside cron job (where you can render and export chart as image). In order to save chart as image on the server, you would require a headless browser like PhantomJS. Please refer this article for the same.

    —–
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.