How to generate graphs and charts from mysql database in php [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
How can I generate graphs and charts from a mysql database using php?
I'm trying to use "chart director" but I can't even install it properly, because I'm using php version 5.3, and it's using a deprecated function dl.
Do you know of any alternatives that:
fully support php 5.3
are easy to use for beginners
can access the mysql database and chart its data

You can use JPGraph and Graphpite
http://jpgraph.net/
http://graphpite.sourceforge.net/

I use highcharts. They are very interactive (and very fancy I might add). You do have to get a little creative to access data from MySQL database, but if you have a general understanding of JavaScript and PHP, you should have no problems.

I use Google Chart Tools https://developers.google.com/chart/ It's well documented and the charts look great. Being javascript, you can feed it json data via ajax.

http://pchart.sourceforge.net/ looks very good and it's free.

Related

Custom monthly graph [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to create a custom chart as shown. Can anyone suggest a library for doing this? I've used highcharts in the past, but never seen one quite like this.
I'm not opposed to doing it from scratch if I have to, but I was hoping somebody had a suggestion.
I'm using php on the backend and jquery on the front.
Google Charts API has tons of chart types and it's pretty intuitive.
If you want to totally customize the chart then Raphael.js lets you control every aspect of it, though you'd be building a chart from scratch.
Processing.js is another one if you want to work from scratch.

Create interactive plots R-plots on website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Last year I was working on a project concerning the creation of R-graphics. I remember that, during my research then, I came across something to visualize interactive R-graphics on a webpage. Unfortunately, I don't remember the name.
Does anyone know a good package/... to achieve this? I would like to get data from a database, use this data to generate a plot using R, and then visualize the plot on a webpage.
There are two ways of doing this. You could either use an direct method or an indirect method. For the indirect method you generate the javascript in your R script and pas it on to PHP (which is a lot of work but gives really nice graphs):
direct method
Knitr - compatible with R-studio
GridSVG
Shiny - compatible with R-studio
Indirect
Highcharts
D3.js
Rickshaw
Personally I'm most excited about epivizr which makes use of D3.js

How can i build dynamic organizational chart? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I'm trying to build an dynamic organizational chart with php. Do i need to build it myself or is there some tools for that?
specification: all the positions in the company are predefined in the org chart, we only add persons in the correspondent position.
I need your suggestions.
Thanks.
I have installed image_graphviz and graphviz in my computer. but i don't know how to use it actually. Because there is so few documentation.
Does anyone have ever done this job or have some relational materials??
thanks a lot.
You could use GraphViz and connect it to your php via PEAR. You can generate graphs like these:
(source: graphviz.org) .
You can find more examples here
There is a tool called Organimi that will accomplish this. It allows you to create a role based org chart. You also create a roster of employees from which you can add/remove employees to/from these roles. The roster can be imported from csv or you can integrate an existing employee database via the API.
We've used the Google Organizational Chart Tool with some pretty good success. The API and documentation are very clear. It was very quick to get a simple static demo up and running, and not much more work to generate it dynamically from our corporate data.
I'm using the Mindmap software for this kind of the project. There are many of them online and the desktop versions. This small, list helps you to examine:
Freemind
Mindomo
Mind42
Conceptdraw MINDMAP
Mindjet
Xmind

Where can I find a PHP function and syntax cheat sheet? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Where can I find a one-page (any size) cheat sheet of PHP functions, syntax, and block constructs?
You mean something like a Cheat Sheet?
There's also a great page for the results of variable tests that I find very useful.
You may find a lot of PHP cheat sheets on TechPosters website.
PCRE, Smarty, PHP
WordPress, MySQL, Smarty...
PHP ( date formatting, regex...)
http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/
is more complete, but I think
http://www.addedbytes.com/cheat-sheets/php-cheat-sheet-version-1/
spaces it out more
These reference charts are usually referred to as cheatsheets.
Here are a few links, but Google will turn up many others:
http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/
http://www.addedbytes.com/cheat-sheets/php-cheat-sheet-version-1/

References on creating Charts/Graphs in PHP? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can anyone suggest a book or a tutorial on creating Charts in PHP extracting the data from MySQL Database. It should not involve Flash in any way.
I dont want to use any pre-built charting solutions.
You will probably want to look at using the GD image library.
Here's a tutorial to get you started: Dynamically Creating Graphs and Charts with PHP and GDChart.
http://code.google.com/p/mtchart/
Open Source PHP charting library (Fork of pChart, more OO-Code), looks way nicer than the current market leader jpGraph.
(Disclamer/Plug-notification: I'm the developer of mtChart.)
http://code.google.com/intl/iw/apis/visualization/
google visualization
http://pchart.sourceforge.net/
Open Source PHP Charting Library. It also has good examples and excellant documentation.
I can for sure suggest jpGraph (http://www.aditus.nu/jpgraph/features.php) , a very complete and well tested library with a number of feature that no other can offer. My 2 cents :)
For some simple charts and graphs I can recommend HTML_Graphs. It is a bit old now but easy to implement, uses straight HTML, and doesn't rely on any third party services or libraries.

Categories