We have used this neat graphing script for displaying Google stats in our
CMS "dashboard".
http://code.google.com/p/flot/

It supports filled areas (
http://people.iola.dk/olau/flot/examples/graph-types.html) and some other
very nice features (http://people.iola.dk/olau/flot/examples/selection.html
).

Definitely worth a look just create a javascript array of your data from PHP
and flot will pretty much do the rest.

2009/10/1 Edwin UY <[email protected]>

> Hi Adi,
>
> Thanks, that looks alright ... Unfortunately, the firewall rules might
> block it and the URL can be quite long ..
>
> The chart types does not have the filled line graph that am looking
> for. What am after is similar to the world map that it has as an example,
> where I click on a country, then that country got highlighted.
>
> But the Google Chart does look very promising ...
>
> Just want to make sure, basically, I just have to compose my URL in the
> right format and submit it, right?
>
> On Fri, Oct 2, 2009 at 12:29 AM, Aditya <[email protected]> wrote:
>
>> I would suggest taking a look at google chart service. For some uses its
>> just quick and effective.
>>
>> http://code.google.com/apis/chart/
>>
>> let us know if this works for you.
>>
>> Thanks,
>> Adi
>> www.appliedeye.com
>>
>>
>>
>> On Thu, Oct 1, 2009 at 4:55 PM, Simon J Welsh <[email protected]> wrote:
>>
>>>
>>> You should be able to use GD (http://php.net/gd), probably the line/
>>> fill functions to produce the images, then the rest is just some
>>> JavaScript changing z-index values.
>>> ---
>>> Simon Welsh
>>> Admin of http://simon.geek.nz/
>>> Sent from my iPhone (+64-21-849025)
>>>
>>> On 1/10/2009, at 20:44, Newbie <[email protected]> wrote:
>>>
>>> >
>>> > 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]
>
>
> >
>


-- 
Simon Holywell
http://www.simonholywell.com

--~--~---------~--~----~------------~-------~--~----~
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