RE: How to Draw a Simple XY Graph
- Date: Sat, 04 May 2019 09:48:40 +0000
- From: Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: How to Draw a Simple XY Graph
On May 4, 2019 9:42:19 AM UTC, Marc Roos <M.Roos@xxxxxxxxxxxxxxxxx> wrote:
>If you are doing just one graph or so, you can mess around with php.
>if you have to do a lot of graphs, and maybe have something 'real
>Start looking at grafana like solutions.
>From: Kenneth Gomez [mailto:kenneth.gomez@xxxxxxxxx]
>Sent: zaterdag 4 mei 2019 11:39
>Subject: How to Draw a Simple XY Graph
>I am so sorry if this is such a trivial question but I am trying to
>how to create a XY graph in PHP? All I can find are paid plugins. Does
>PHP not support basic graphs? I've been through the manual at php.net
>and my site is hosted on SiteGround.
><http://www.kgomez.com> "The heights by which great men reached and
>kept, Were never attained by sudden flight, But they, while their
>companions slept, were toiling upward in the night."
Have a look at the GD library in PHP. There are methods for drawing lines and rectangles, which is all you need for basic graphs. With a little effort you can even draw 3d charts.