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.