473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Creating graph

Happy new year!

I need to create a page with a graph. Data will be read from a DB,
processed and then I should create a JPG or something to show.
Does any one know of a component which can do this?

I wonder, whether WMF files would be better, probably esier to create.

BR
Sonnich

Jan 4 '07 #1
5 1428
Sonnich wrote:
Happy new year!
You too.
I need to create a page with a graph. Data will be read from a DB,
processed and then I should create a JPG or something to show.
Does any one know of a component which can do this?
It depends what you mean by a graph - a series of vertices (nodes) connected
by edges (e.g. a state diagram) or do you mean the kind of chart you would
produce using a spreadsheet?

For the former, graphviz - a standlone rendering program which uses its own
graph description language (which can easily be generated with PHP). For
the latter, jpgraph - a PHP library.

Try Google for URLs.
I wonder, whether WMF files would be better, probably esier to create.
In what way better? (SVG is the open standard for scalable vector graphics
and is supported by Graphviz & Mozilla/Firefox - MSIE requires a free
plugin).

C.

BR
Sonnich
Jan 4 '07 #2

Sonnich wrote:
Happy new year!

I need to create a page with a graph. Data will be read from a DB,
processed and then I should create a JPG or something to show.
Does any one know of a component which can do this?

I wonder, whether WMF files would be better, probably esier to create.

BR
Sonnich
We use GNUPlot. Works well, lots of options and file formats.
<http://www.gnuplot.info/>

Jan 4 '07 #3


try GD in php u ll get a solution

Jan 4 '07 #4
Sonnich wrote:
Happy new year!

I need to create a page with a graph. Data will be read from a DB,
processed and then I should create a JPG or something to show.
Does any one know of a component which can do this?

I wonder, whether WMF files would be better, probably esier to create.

BR
Sonnich
Jpgraph is what you want!
http://www.aditus.nu/jpgraph/
Jan 5 '07 #5
On 4 Jan 2007 04:29:50 -0800, "Sonnich" <so************@elektrobit.comwrote:
>I need to create a page with a graph. Data will be read from a DB,
processed and then I should create a JPG or something to show.
Does any one know of a component which can do this?
I recommend ChartDirector, provided you're able to install an extension
module.

If not, JpGraph looks decent enough.

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Jan 5 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ravi | last post by:
Hi, I've tried creating a capture graph twice for the same camera device in the same program. But, the second time I try to create graph for the device, Im getting an error at the "RenderStream"...
4
by: Altramagnus | last post by:
I have 30 - 40 type of different window. For each type I need about 20 instances of the window. When I try to create them, I get "Error creating window handle" My guess is there is a maximum...
4
by: Coskun Cavusoglu | last post by:
Hi I need to build something that works like the following example http://www.realestateabc.com/calc_v22/calculator.html How can can I do this by using c# and web forms. It will be a part of a...
0
by: Angela | last post by:
I am using VS.NET 2003 and Crystal 9. I have been told by Crystal, as well as many co-workers who know Crystal really well, that I cannot create the particulat graph I need using Crystal Reports....
9
by: Patrick.O.Ige | last post by:
I have a code below and its a PIE & BAR CHART. The values now are all static but I want to be able to pull the values from a database. Can you guys give me some ideas to do this? Thanks ...
5
by: Brian Cryer | last post by:
I'm developing a website and for one of the pages I need to create a number of coloured rectangles - its part of a legend and the user has control over the actual colours used which is why I want...
1
by: Rohan | last post by:
Hello I need major help, I am trying to make a plane to create a graph, I have been working on it for a day now and I can't figure it out, the problem is that one of the drawstring doesn't write...
5
by: Kuna | last post by:
Hi All, I am trying to create a gantt chart in php by getting data from database. I am using WindowsXp OS and having php-4 and my-sql DB. I have installed the JPGRAPH package to my system and...
2
by: Man4ish | last post by:
I have created Graph object without vertex and edge property.It is working fine. #include <boost/config.hpp> #include <iostream> #include <vector> #include <string> #include...
0
by: eureka2050 | last post by:
Hi all, I am creating a radar chart containing 2 plots using jpgraph. My code is as follows:- include ("./jpgraph/src/jpgraph.php"); include ("./jpgraph/src/jpgraph_radar.php"); //...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.