Jump to content


Photo

Bar Chart and Pie Chart? any built in function?


  • Please log in to reply
2 replies to this topic

#1 bilis_money

bilis_money
  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 16 July 2006 - 12:56 AM

hi,

Is there any PHP Bar Chart or Pie Chart built in function in PHP?


thanks in advance.



#2 akitchin

akitchin
  • Staff Alumni
  • Advanced Member
  • 2,516 posts
  • LocationCalgary, AB, Canada

Posted 16 July 2006 - 12:58 AM

no, there aren't.  if you look around for a post by Barand, i believe he has a custom class for creating these on the fly.  otherwise, you'll need to look up using the GD image library.

bar graphs can be crudely constructed in HTML with images whose heights or widths represent their data value.

#3 koolaidman52

koolaidman52
  • Members
  • PipPipPip
  • Advanced Member
  • 53 posts

Posted 16 July 2006 - 02:18 AM

or you can use divs with background colors for bar graphs that are x% wide, for polls and such.
Btcartoons.com --  coded entirely in Mom's basement.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users