#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    1
    Rep Power
    0
    Hi,
    I would like to know how dynamical
    generation of:

    - charts
    - graphs
    - curves

    are done best from either Servlet
    or PHP enviroment.

    Thank you in advance
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    35
    Rep Power
    15
    not sure about php or others but there is perl module designed to do that kind of thing

    i think 'at the forge' (http://lerner.co.il/atf/) covered it
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    FRANCE
    Posts
    9
    Rep Power
    0
    u can use php to generate dynamically
    what u want
    php is a 'son' of perl and allows u to do it like perl

    u can have details on www.php.net
  6. #4
  7. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    PHP can be compiled with support for on-the-fly graphics creation using the gd image library (http://www.boutell.com/gd). This is a very nice, tight little piece of software that generates images so fast, it seems like they just came off the hard drive.

    With gd, PHP can create PNG, or Jpeg graphics using many pre-defined functions for curves, shapes, etc..., and it can interface with the Freetype library (www.freetype.org) to use TTF fonts also.

    A beginning tutorial is at http://www.phpbuilder.com/columns/ra...24.php3?page=1

    Another: http://www.phpwizard.net/resources/t...ic_images.html

    Also, look up "image creation" at www.php.net

    It can be a real pain to configure PHP with gd and Freetype. Let us know here if you need any help in this area.

    [This message has been edited by rycamor (edited July 24, 2000).]
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    1
    Rep Power
    0

    Dynamic and Interactive Graphs


    If you simply want to provide a dynamically generated graph image on the page for your visitors then there are pre-built and fully tests PHP graphing packages around that will allow you to quickly build this into your application.
    (e.g. Advanced Graphs and Charts for PHP by JPowered )

    Or as alternative you could consider a front end JavaScript solution. These have the advantage that not only do they build the graph dynamically but also can provide your visitors with interactive features.



    Originally Posted by ajo
    Hi,
    I would like to know how dynamical
    generation of:

    - charts
    - graphs
    - curves

    are done best from either Servlet
    or PHP enviroment.

    Thank you in advance
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    9
    Rep Power
    0
    Thanks for sharing such information.
    In php we can design chart, graph, in easy ways so I think it best. since it's programming is easy than other technology.

Similar Threads

  1. PHP, Excel and Drawing Graphs (charts) - Possible?
    By tigercat in forum PHP Development
    Replies: 15
    Last Post: August 29th, 2003, 06:13 AM
  2. dynamically drawing bar graphs
    By 7stud in forum PHP Development
    Replies: 9
    Last Post: April 11th, 2001, 06:05 AM

IMN logo majestic logo threadwatch logo seochat tools logo