Menu

JpGraph 1.6 and phpbt .72

Help
2002-04-01
2002-04-10
  • Nobody/Anonymous

    First let me start by saying that phpbt, is awesome! I am just installing it to roll it out to my group this week. I wanted to use JpGraph, so I installed it (with temp directory and all), GD 1.8.4, and configured the Admin tools to reflect appropriate path. But when I hit the index.php of phpbt I get the following error message (that appears to be a png file)

    JpGraph Error:
    PiePlot::SetPrecision() is deprecated use SetLabel() instead

    Any ideas?
    Greg

     
    • Benjamin Curtis

      Benjamin Curtis - 2002-04-01

      You can try changing line 87 of index.php to SetLabel() instead of SetPrecision(), but I haven't played with jpgraph 1.6 yet so I don't know exactly what the difference is there.  You could also drop down to jpgraph 1.5.2 which is the latest version with which I've tested.

       
    • Benjamin Curtis

      Benjamin Curtis - 2002-04-01

      You can also edit jpgraph.php from the jpgraph distribution, changing the define on line 91 (ERR_DEPRECATED) from true to false.

       
    • Nobody/Anonymous

      Neither option appears to work...do you have the tarball from 1.52? I can't seem to find it on their site.

       
    • Nobody/Anonymous

      Johan Persson (from the JPGRAPH project) connected me with a 1.53 tarball, works just fine. It seems as though there is some code in version 1.6 that doesn't work well with phpbt.

      Thanks for all your help!

       
      • Benjamin Curtis

        Benjamin Curtis - 2002-04-02

        No problem! :)  I'll try to find out what's broken and get a new version out.

         
    • Nobody/Anonymous

      I'm getting a blank screen when I enable jpgraph.   Has anyone seen this also.

      Kevin

       
      • Benjamin Curtis

        Benjamin Curtis - 2002-04-10

        The jpgimages directory must be writeable by the web process so the image can be created.  Also, jpgraph is now at version 1.6.1 because of a bug with the pie chart image map rendering (which is used by phpBugTracker).

         

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.