How to create / create a graphic image depending on the values ​​in the database?

How to create a graph from values ​​in a database? The idea is taken from "Steam", which uses a graph showing how many users are connected to the network. How could I do the same? It seems that the graph is one holistic image; not consisting of details. Here's a graph image from Steam:
alt text http://d-load.org/public/steam-graph.PNG

+3
source share
8 answers

Use this GD module from PHP. http://php.net/manual/en/book.image.php

+4
source
+5

- API Google Chart. , URL ( )

+3

, . , , .;)

+2

+1 Svisstack. ( , , ): http://www.php.net/imagick

+2

javascript, , http://raphaeljs.com/

.

+1
source

I am using FLOT with jQuery -> http://code.google.com/p/flot/

It’s easier for me to work with CSS than with the GD library to get the desired layout.

0
source

There are many javascript tools. For example, you can choose jQuery plugin - jqplot or Dojo charting , etc ... With their help you can create very beautiful charts / graphs.

0
source

Source: https://habr.com/ru/post/1741851/


All Articles