Home forums Report Bugs Want to build chart in cron job functionality

This topic contains 3 replies, has 3 voices, and was last updated by  Sunil Urs 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20985

    subhra
    Member

    I’m creating a cron job functionality and I need to create a chart image at the job executing time. Please help me.

    #21014

    Priyanka M S
    Member

    @subhra,

    Please take a look at this article for info regarding executing JavaScript code (where you can create chart and render / export it as image) inside a cron job.

    __
    Priyanka M S
    Team CanvasJS

    #21027

    subhra
    Member

    @priyanka
    The article which you have mentioned is in node js. But my application is in PHP with laravel. So how can I implement this thing in PHP?

    #21039

    Sunil Urs
    Keymaster

    Subhra,

    In order to render chart on the server side you would require a headless browser like PhantomJS. Here is an article which might help.


    Sunil Urs

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

You must be logged in to reply to this topic.