Search code examples
phpchartsserver-side

Easiest way to generate chart to an image server-side (to be embedded into PDF)


I am using Highcharts to generate nice-looking charts. I am trying get these charts embedded into a PDF, so I would need the process to generate the chart into an image done server side.

What is the simplest method ideally without any need for the command line?


Solution

  • You can use JpGraph to generate graphs with PHP and save as an image: