Fork me on GitHub

JpGraph?  Bottom

  • Does anyone have experience using this with modules? I can't figure out how to pass it enough data to make a Gantt chart and still have it display the image.
  • To clarify a bit, if I try to include it as an image file, I need to send it a lot of information from the template file. This doesn't seem possible. I tried it as a plugin, but that doesn't work because of how jpgraph works. (Which I don't really understand, but they don't have a helpful help forum.) :)

    So right now I'm thinking I either need to figure out how to send a lot of information on an image call, or else just have the function get the information again. That's less preferable, obviously, since I already have all the data I need.

    And I'm not sure if I'm making any sense, 'cause tree pollen is driving me batty.
  • can't you just use it as a javascript?
  • I don't know. JpGraph is PHP-based, using the GD image library to make the images. I don't know how I'd use JS to do this.

    I think I've had a bit of an idea. With JpGraph, you can create an image on the server. I think I may do that and then just send the image URL. A bit simpler, I think, though I need to do it carefully so I can figure out where the image is going to end up!
  • Hi,

    we're using JPGraph in out Project Management Module (currently Beta, will be finished soon). You can download it from www.open-star.org and see how we're using JPGraph.

    Greetings
    --> R
  • I couldn't seem to find the project management module. Is it available for general consumption?

    I figured out a way to get this to work, but now I've run into problems with milestones, which is frustrating.
  • I have been picking away at this for a while, and I think I've got most of the bugs worked out. Now I just need to implement a way to make it not write the image if nothing's changed in the project. Then I want to see if I can get the image mapping working to where it'll be useful for me.

    Here's a screen capture of what I've got so far.

    http://pingnotes.us/images/gantt.png
  • Rgasch,

    I'm finishing up a module that I'd like to use a simple Gantt chart on.

    Reading the license for JpGraph, you cannot use it in any commercial form (ie, even an intranet for company data) without paying for the professional version.

    I might instead just cobble together an HTML / CSS gantt-like chart rather than use a library that restricts distribution.

    Will your module users have to buy professional before using your module?

    thanks for any info,

    NCM
    UHEweb



    edited by: uheweb, May 24, 2007 - 02:59 PM

This list is based on users active over the last 60 minutes.