Home Forums StockChart Support Render charts to disk using php

Render charts to disk using php

Viewing 3 posts - 1 through 3 (of 3 total)
  • #39196

    I want to render charts using a queue job and php.
    Is this feasible?
    I can see that there is an export method but this seems to ask for location to save. It also needs ability to render chart first.

    thanks

    #39262

    @thefireescaper,

    You can save the chart in the server side and store it in required location using headless browsers like Chrome Headless Browser, BrowserShot, SlimerJS etc. Also, you can use puppeteer (headless Chrome Node.js API) to achieve your requirement. Please take a look at this sample project for an example on saving the chart using puppeteer API.

    —-
    Manoj Mohan
    Team CanvasJS

    #39267

    Thank you @manoj-mohan – very much appreciate you posting this sample. I will take a look and feedback on progress.

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

You must be logged in to reply to this topic.