You must be logged in to post your query.
Home › Forums › StockChart Support › Render charts to disk using php
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.
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.
Thank you @manoj-mohan – very much appreciate you posting this sample. I will take a look and feedback on progress.
You must be logged in to reply to this topic. Login/Register