Jump to content

How can I generate charts in php server-side?


SLSCoder
 Share

Recommended Posts

How can I generate charts (bar, line pie, donut) in php that will create files (jpg, png, svg, ...) or base64 on the server?

Does a library exist (preferably open source) that can do it?
If not is there a service that I can connect to via cURL?

I'm trying to export reports from php in various formats (PHPWord, PHPSpreadsheet, PHPPresentation, mPDF, HTML) that will include charts.
The html must be basic html (no scripting) and runnable without an internet connection; just a report.


 

Edited by SLSCoder
Link to comment
Share on other sites

I can't believe it. What did you google?
I tried a few things. The last was this: php charts  -javascript -jquery

I don't suppose you could come up with an open-source version for commercial use??

Thanks.

Also, how can I code my own charts? I'd be interested in that.
If you could point me in a direction that would help.

Edited by SLSCoder
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.