HI all,

Thanks to all who had responded to this question.

Am probably "attacking" this graph'ing that am trying to do from a wrong
direction. I've managed to do most of the suggestions that all of you had
suggested. The issue that am having is that the graphs are all static
graphs, that is it cannot be changed.

I am hoping that I can make a graph that is sort of similar to a map. Say
for example, I have a picture of the world map on the page, and I got the
legends of the seven (7) continent on the right hand side of the page. If I
click on Asia, it will highlight portions of the map that are part of Asia,
if I click on South America, it will highlight the portion of the map that
is part of South America and so on and so forth.

Another example is if I have pie chart of sales from JANUARY - JUNE and each
portion of the pie chart corresponds to each month and I have the legends,
JAN, FEB, MAR, APR, MAY JUN,  on the left side of the page, if I click on
JAN, it will highlight the JAN portion/percentage of the pie chart, if I
click on FEB, it will highlight FEB and so on.

At the moment, am thinking, for example, for the pie chart, I will have
seven (7) different codes, one for each month and one for all the months. So
if the user click on JAN, I will load the page that highlight the pie chart
portion for JAN and the rest of the chart greyed out, if I click on FEB, the
page that highlight the pie chart portion for FEB will be loaded and the
rest of the chart greyed out, am I doing this correctly? If not, any
suggestions?




On Fri, Oct 2, 2009 at 1:17 PM, Jeff Ballweg <[email protected]> wrote:

>
> I've used the pChart library (http://pchart.sourceforge.net/) and
> quite like it. Beautiful graphs, easily customisable, generates an
> image via gd on the server, built in caching. Nice if you'd prefer to
> limit the amount of js or flash on your page. Lots of examples and
> source on their sourceforge page.
>
> Jeff Ballweg
> www.jeffballweg.com
>
> On Oct 2, 12:26 am, Yuri Yarlei <[email protected]> wrote:
> > Hi,
> >
> > You could use phpgraf and ajax to recharge the graphic or use some
> xml/swf
> > graphic script (some of these already have the option to recharge), and
> they
> > are easy to use.
> >
> > Yuri Yarlei.www.yuriyarlei.net(under construction)
> > Programmer PHP, CSS, Java, PostgreSQL;
> > Today PHP, tomorrow Java, after the world.
> > Kyou wa PHP, ashita wa Java, sono ato sekai desu.
> >
> > 2009/10/1 Newbie <[email protected]>
> >
> >
> >
> >
> >
> > > Hi all,
> >
> > > Does anyone have an example of a PHP script that can do filled line
> > > graph?
> >
> > > Basically, for example, if I want to graph network traffic on a weekly
> > > basis and by the hour, my Y-axis will be network traffic 0 -100 and my
> > > X-axis will be the the hours of the day 0 - 23 in 30-minute interval
> > > and I want to plot the data as filled line graph.
> >
> > > The graph will obviously be overlapping each other, so I need to be
> > > able to click on Monday and the Monday graph data will be highlighted,
> > > if I click on Tuesday, the Tuesday graph data will be highlighted and
> > > so on.
> >
> > > Any suggestion will be very much appreciated. Thanks in advance.
>
> >
>


-- 
Regards,
Edwin ONG UY
Unit 4, 64 Grange Road
Mt Eden 1024
AUCKLAND
Email: [email protected]

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to