Menu

stats with jpgraph

Help
2003-02-07
2003-02-09
  • Nobody/Anonymous

    Hi,

    I would like to add some more graphical statistics to the Home page, for instance a bar graph with the number of bugs reported per month. Could you give me some guidelines ?

    the function 'grab_data' is more or less clear to me, but the function 'build_image' is quite unclear...

    Also, how do you get the date back in m-d-Y format ? the format from the db (1043845059) is not familiar to me.

    thanks a lot!

     
    • Benjamin Curtis

      Benjamin Curtis - 2003-02-09

      The build_image function would probably be much clearer after reading through the jpgraph documentation -- it basically calls the jpgraph functions for building a pie chart.

      The time values stored in the db are epoch seconds, or number of seconds since 1970-01-01 00:00:00.  Check out http://www.php.net/date for info on converting epoch timestamps to other formats.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.