Hi,
I am passing 8 values each from 1 to 10 to a php page and at the moment I am
drawing a bar chart using shaded cells to represent the magnitude of each
bar.
I would also like to draw these values into a pie chart ... can anyone tell
me if this is possible? If so can you point me to some example code?
Help appreciated.
Paul. 7 2231
Paul Charlton-Thomson said the following on 10/06/2005 23:33: Hi,
I am passing 8 values each from 1 to 10 to a php page and at the moment I am drawing a bar chart using shaded cells to represent the magnitude of each bar.
I would also like to draw these values into a pie chart ... can anyone tell me if this is possible? If so can you point me to some example code?
I doubt there's any built-in pie-chart functions in PHP, but it's not
hard to draw your own.
--
Oli
Oli Filth said the following on 11/06/2005 01:54: Paul Charlton-Thomson said the following on 10/06/2005 23:33:
Hi,
I am passing 8 values each from 1 to 10 to a php page and at the moment I am drawing a bar chart using shaded cells to represent the magnitude of each bar.
I would also like to draw these values into a pie chart ... can anyone tell me if this is possible? If so can you point me to some example code?
I doubt there's any built-in pie-chart functions in PHP, but it's not hard to draw your own.
Sorry, I didn't finish what I was gonna say!
There's functions such as imagefilledarc(), which would probably be
enough to do what you want. http://uk2.php.net/manual/en/functio...efilledarc.php
--
Oli
Thank Oli,
Looks like I have some more learning to do ...
Paul.
"Oli Filth" <ca***@olifilth.co.uk> wrote in message
news:LE*****************@newsfe3-gui.ntli.net... Oli Filth said the following on 11/06/2005 01:54: Paul Charlton-Thomson said the following on 10/06/2005 23:33:
Hi,
I am passing 8 values each from 1 to 10 to a php page and at the moment I am drawing a bar chart using shaded cells to represent the magnitude of
each bar.
I would also like to draw these values into a pie chart ... can anyone tell me if this is possible? If so can you point me to some example code?
I doubt there's any built-in pie-chart functions in PHP, but it's not hard to draw your own.
Sorry, I didn't finish what I was gonna say!
There's functions such as imagefilledarc(), which would probably be enough to do what you want.
http://uk2.php.net/manual/en/functio...efilledarc.php
-- Oli
"Paul Charlton-Thomson" <pa**@charlton-thomson.com> a écrit dans le message
de news: d8**********@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com... Hi,
I am passing 8 values each from 1 to 10 to a php page and at the moment I
am drawing a bar chart using shaded cells to represent the magnitude of each bar.
I would also like to draw these values into a pie chart ... can anyone
tell me if this is possible? If so can you point me to some example code?
Help appreciated.
Hi ,
Only one word : JpGraph : http://www.aditus.nu/jpgraph/index.php
Bye,
-- http://www.danstesyeux.com
I second jpgraph. It's an excellent php library for drawing all kinds
of graphs. It's also pretty popular, so you would get good support from
users and chances are it might already be on the server.
"Paul Charlton-Thomson" <pa**@charlton-thomson.com> a écrit dans le message
de news: d8*********@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com... Thanks,
Sadly I have been upgraded to PHP5 and JpGraph doesn't work with 5.0
Have got it working with GD2.0 in PHP5 :-)
Read this : http://www.aditus.nu/jpgraph/jpdownload.php
" Note: The 2.x series is only for PHP5. It will not work on PHP4 "
Doesn't work with PHP 5 ??!! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: James Beswick |
last post by:
I want to do some primitive graphics work - drawing circles, squares,
lines and enable the user to manipulate these on an Access form. All
the drawing methods are on the report object so are there...
|
by: Champika Nirosh |
last post by:
Hi,
I want to create drawing board application that can draw Line, rectagle,
circle and free hand drawing.
Each drawing need to be transparent, moveable (draggable), have bring to
front and...
|
by: Daniel |
last post by:
how come when i do oGraphics.FillEllipse it draws blury? is there anyway to
adjust this default compression to not be blury when drawing a simple
ellipse?
|
by: Benoit Martin |
last post by:
I had to draw my own control because I couldn't find any control doing what
I wanted it to do. This control has a grid that I need to have control over.
To do that, I draw each line of the grid...
|
by: Ranjit |
last post by:
Hi,
I would like to know how to place circles in the
connecting points of the lines, and very close to the
circles I would like to place the values like a,b,c...etc
automatically for each...
| |
by: Stefan0 |
last post by:
Hi,
I'd like to draw a circle on the screen using GDI+
I'm using the DrawEllipse method with width = height and I set the
SmootingMode to SmoothingModeAntiAlias but the circle is "squared".
Is...
|
by: barbaros |
last post by:
Hello everybody,
I need to put some dynamic drawings on my web page. More precisely, I
need to draw a number of geometric figures (circles, rectangles) which
evolve into a graphics windows...
|
by: jason.m.ho |
last post by:
Hello,
I am writing a no-plugin networked Sketchpad program (DHTML,
Comet/Ajax). Because I am trying to avoid using Flash or Java Applet, I
rendered my strokes at first with the wz_jsgraphics...
|
by: meyboat |
last post by:
hello there, i just started writing some simple programs in c plus plus and now on another one , which is suppose to draw concentric circles. having some difficulties and wondering if u could help me...
|
by: serave |
last post by:
Hi i'm new in this group. I need some help with php. I need to draw
any mathematical function i get through a form?
Please help me
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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 ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |