Hi, I'm looking for a package useful to draw graphs (like those listed at
the page http://www.graphviz.org/, not general charts). Can you provide me
with some indication please? Many thanks!
Best,
Nic 6 2634
hi,
The only option with which we draw graph in PHP is GD package. You can
device your algorithm to draw graphs. In fact graph are great area in
mathematics and computing.
Also pls check out in www.phpclasses.org if u hav any classes for the
purpose.
princeofcode
Nico wrote: I'm looking for a package useful to draw graphs (like those listed at the page http://www.graphviz.org/, not general charts).
How about Graphviz itself? The Graphviz resource page: http://www.graphviz.org/Resources.php
mentions several PHP applications that use Graphviz, including a PEAR
class. Take a look at those; perhaps, one of them will help you figure
out how to make Graphviz work with PHP...
Cheers,
NC
"Nico" <no****@nospam. nospam> wrote in
news:44******** *************** @reader2.news.t in.it: Hi, I'm looking for a package useful to draw graphs (like those listed at the page http://www.graphviz.org/, not general charts). Can you provide me with some indication please? Many thanks! Best, Nic http://www.aditus.nu/jpgraph/
Good Man wrote: "Nico" <no****@nospam. nospam> wrote in news:44******** *************** @reader2.news.t in.it:
Hi, I'm looking for a package useful to draw graphs (like those listed at the page http://www.graphviz.org/, not general charts).
http://www.aditus.nu/jpgraph/
As much as I like JpGraph, it's probably not going to work too well;
the OP seems to want to draw tree charts, relationship diagrams, and
the like... For those, JpGraph will be a very minor improvement over
starting from scratch...
Cheers,
NC
NC wrote: Nico wrote: I'm looking for a package useful to draw graphs (like those listed at the page http://www.graphviz.org/, not general charts).
How about Graphviz itself? The Graphviz resource page:
http://www.graphviz.org/Resources.php
That's what I do - I generate dot files using PHP, and output them to a
temporary file (using a caching mechanism). The use the header() function
to tell the browser I'm sending it a Jpeg image.
Looks something like this:
<?php
....
$cache_name=get _cache_name();
if (not_cached($ca che_name)) {
$dotfile=gen_do t_file();
$tmpfile=write_ tmp_file($dotfi le);
// this was a quick hack so I dumped the dot file into
// a temp file - but with a bit of effort you could
// send it to stdin instead
$run="/usr/bin/dot -Tjpg -o $cache_name $tmpfile";
$output=`$run`;
}
header("Content-type: image/jpeg");
readfile($cache _name);
?>
HTH
C.
Many thanks!
I'll try graphviz.
Nic
"NC" <nc@iname.com > ha scritto nel messaggio
news:11******** *************@i 40g2000cwc.goog legroups.com... Good Man wrote: "Nico" <no****@nospam. nospam> wrote in news:44******** *************** @reader2.news.t in.it:
> Hi, I'm looking for a package useful to draw graphs (like those listed > at the page http://www.graphviz.org/, not general charts).
http://www.aditus.nu/jpgraph/
As much as I like JpGraph, it's probably not going to work too well; the OP seems to want to draw tree charts, relationship diagrams, and the like... For those, JpGraph will be a very minor improvement over starting from scratch...
Cheers, NC This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: TheDD |
last post by:
Hi all,
i have a question:
is there any librairy for drawing graphs with PHP? Not graphs like
histogram or alike, but like a set of shapes linked together in a certain
way (like a flow chart or call graph).
I have found a script to handle the graph in memory but i can already do
that, my problem is to draw it (it an optimal way, and without crossing
|
by: Stefan Burger |
last post by:
Those of you who are in need for drawing vector lines might be interested in
the following code.
DrawLine( x1, y1, x2, y2, color ) draws a vector line from any Point x1,y1
to any Point x2,y2 in any color (string format #RRGGBB) by using div-tags.
regards
Stefan
###############code starts here#########################
|
by: Atif |
last post by:
Hello all,
In my html page I want to add an image say of 800x600. Now I want that
when ever I am given two coordinates on this image say (x1, y1)=(50,
100) and (x2, y2)=(200, 300), the java script code will trace these
coordinates on the image and draw the line between these two points.
Can anyone please help me in writing the javascript code of this
problem?
Thanks and Regards
Atif
|
by: SS KANAGAL |
last post by:
Hello,
I am drawing a bar graph in an aspx page using
System.Drawing namespace .
Now I want to provide drill down facility for the graph
i.e. on click of a bar in the graph it should get me yet
another graph with different data populated in that graph.
I want to know how to provide href for each bar in the
graph in the code behind.
|
by: Ray Mitchell |
last post by:
Hello,
I need to write an application that displays multiple
graphs on multiple tabbed sheets in a single window. The
graphs are all simple X-Y line graphs like you'd see on an
oscilloscope, but with labeled coordinates. I need
everything (including the fonts if possible) to scale as I
resize the window. I'm debating about using MFC or C# but
I'd like to use C#. (I assume, however, that .NET will
not work on Windows NT.) Is there...
| |
by: ZUP_DUDE |
last post by:
Hi All,
I'm looking for a good paperback resource on the System.Drawing
objects. I'm looking to create graphs and convert graphics from one
type to another. Any Suggestions would be helpful.
Thanks in advance
|
by: Steve Marshall |
last post by:
Hi all,
I am converting an app which used a picturebox to draw graphs etc onto, then
saved them to a file. I can certainly draw things onto a picturbox in
VB.NET, but how do I save them to a file? I've looked at Bitmap objects,
which support saving, but can't see a way to grab what I have drawn and make
a bitmap from it, or whatever. Anybody done this?
Thanks for any suggestions
|
by: Jonathan Daugherty |
last post by:
Hello,
I'm looking at a number of chart-drawing libraries and modules for
Python and I'd like to know which one people tend to consider the
best.
I've tried gdchart2 but its interface seems somewhat limited, and
pychart looks nice. I'd like to find something that will let me draw
graphs similar to those created by RRDtool.
|
by: asdf |
last post by:
I was told that it is difficult to draw plots and graphs in C++, right?
In matlab, if I have data, it's very easy to generate the plots, and I
want to know how C++ handles such output.
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |