473,569 Members | 2,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1435
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.inf o/>

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.com wrote:
>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.u k :: 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
1490
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" method. The creation of GraphFilter, etc., is all going fine, but, the "RenderStream" method always gives an error, be it for Preview or for Capture. ...
4
561
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 number of window handle, because if I reduce to about 2 instances of each window, it can run. But not 20 instances of each window. Does anyone know...
4
15575
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 web based project so it has to work on the web. And the important is as the user slides the control the graph will change itself. How can I get c# to...
0
2334
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. Here is an example of the kind of data I am trying to graph: Question: How much TV people watch a day? Responses (as a percentage of total...
9
3061
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 Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Declare your object variables
5
1238
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 to create it dynamically. I've put together an aspx.vb page which creates a rectangle as a jpeg in the colour passed via the url. My idea being to...
1
1331
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 the number under the lines and one of the line, for some reason, it is not proportional !! Thank you, ------------------------Start User...
5
10418
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 including the jpgraph modules accordingly. I am able to create a gantt chart by hardcoding the datas but when I am trying to get the data from...
2
2300
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 <boost/graph/adjacency_list.hpp> #include <boost/tuple/tuple.hpp> #include <set> using namespace std;
0
3468
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"); // Create the basic radar graph $graph = new RadarGraph(700,500,"auto");
0
7700
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.