Jump to content


Photo

graphing help


  • Please log in to reply
2 replies to this topic

#1 netfrugal

netfrugal
  • Members
  • PipPip
  • Member
  • 26 posts

Posted 21 March 2006 - 10:11 PM

I'm looking to create a bar graph in php that allows me to view when an event is occuring during the day or week.

It is similar to what Microsoft Outlook calendar does. Basically, I want to see a horizonal bar from a start time to an end time during a day.

Does anyone know of any tutorials that explain this?

thanks




#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 21 March 2006 - 10:37 PM

I would recommend the jpgraph library for this task. It is very easy to use and very powerful.

[a href=\"http://www.aditus.nu/jpgraph/\" target=\"_blank\"]http://www.aditus.nu/jpgraph/[/a]

#3 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 21 March 2006 - 10:48 PM

[!--quoteo(post=357111:date=Mar 21 2006, 10:11 PM:name=netfrugal)--][div class=\'quotetop\']QUOTE(netfrugal @ Mar 21 2006, 10:11 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
I'm looking to create a bar graph in php that allows me to view when an event is occuring during the day or week.

It is similar to what Microsoft Outlook calendar does. Basically, I want to see a horizonal bar from a start time to an end time during a day.

Does anyone know of any tutorials that explain this?

thanks
[/quote]

as the blocks are all square, it'd probably be less hassle to actually use DIVs/tables to do this. it'd also use up much less bandwidth to output to the browser than an image.

"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users