Need help for creating Pie Chart, Bar Chart

Discussion in 'PHP' started by ksamir2004, May 1, 2008.

  1. #1
    Hi All,

    Can any one help me for creating Pie Chart, Bar chart in php...

    please send PHP code..

    Thanks
    Sam
     
    ksamir2004, May 1, 2008 IP
  2. Altari

    Altari Peon

    Messages:
    188
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you taken a look at Open Flash Chart? I've heard it has kind of a high learning curve, but it's extremely powerful (and tech-sexy).
     
    Altari, May 2, 2008 IP
  3. ggggqqqqihc

    ggggqqqqihc Peon

    Messages:
    92
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Have you tried Google Chart API? It uses URL parameters to draw charts. I think it is a simple way to create charts.
     
    ggggqqqqihc, May 2, 2008 IP
  4. youscript

    youscript Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    youscript, May 2, 2008 IP
  5. ksamir2004

    ksamir2004 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    can any one explain how to make graph in php....
    http://pear.veggerby.dk/ this site is good.


    how to install GD in php 5

    thanks
    Sam
     
    ksamir2004, May 5, 2008 IP
  6. vishnups

    vishnups Banned

    Messages:
    166
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Create a file called info.php in your server with following code
    
    <?php
    phpinfo();
    ?>
    
    Code (markup):
    Search for GD Library. It will most probably be enabled in your server.
     
    vishnups, May 5, 2008 IP
  7. ksamir2004

    ksamir2004 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
     
    ksamir2004, May 5, 2008 IP
  8. rrajkumar

    rrajkumar Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Apart from Google Chart API from, which actually embeds an image of the chart using the data in the GET request, you might also want to check out the Google Visualization API, which are Javascript based.

    In the Visualization API approach, the data does not have to be sent to Google's server to create the Chart image. Instead the browser's graphics capabilities are used (Canvas for Firefox, Chrome, etc., and VML for Internet Explorer) to come up with the charts directly within the interface.
     
    rrajkumar, Mar 15, 2010 IP