Creating graph

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sonnich

    Creating graph

    Happy new year!

    I need to create a page with a graph. Data will be read from a DB,
    processed and then I should create a JPG or something to show.
    Does any one know of a component which can do this?

    I wonder, whether WMF files would be better, probably esier to create.

    BR
    Sonnich

  • Colin McKinnon

    #2
    Re: Creating graph

    Sonnich wrote:
    Happy new year!
    >
    You too.
    I need to create a page with a graph. Data will be read from a DB,
    processed and then I should create a JPG or something to show.
    Does any one know of a component which can do this?
    >
    It depends what you mean by a graph - a series of vertices (nodes) connected
    by edges (e.g. a state diagram) or do you mean the kind of chart you would
    produce using a spreadsheet?

    For the former, graphviz - a standlone rendering program which uses its own
    graph description language (which can easily be generated with PHP). For
    the latter, jpgraph - a PHP library.

    Try Google for URLs.
    I wonder, whether WMF files would be better, probably esier to create.
    >
    In what way better? (SVG is the open standard for scalable vector graphics
    and is supported by Graphviz & Mozilla/Firefox - MSIE requires a free
    plugin).

    C.

    BR
    Sonnich

    Comment

    • ZeldorBlat

      #3
      Re: Creating graph


      Sonnich wrote:
      Happy new year!
      >
      I need to create a page with a graph. Data will be read from a DB,
      processed and then I should create a JPG or something to show.
      Does any one know of a component which can do this?
      >
      I wonder, whether WMF files would be better, probably esier to create.
      >
      BR
      Sonnich
      We use GNUPlot. Works well, lots of options and file formats.
      <http://www.gnuplot.inf o/>

      Comment

      • piyush

        #4
        Re: Creating graph



        try GD in php u ll get a solution

        Comment

        • Craig Storey

          #5
          Re: Creating graph

          Sonnich wrote:
          Happy new year!
          >
          I need to create a page with a graph. Data will be read from a DB,
          processed and then I should create a JPG or something to show.
          Does any one know of a component which can do this?
          >
          I wonder, whether WMF files would be better, probably esier to create.
          >
          BR
          Sonnich
          >
          Jpgraph is what you want!

          Comment

          • Andy Hassall

            #6
            Re: Creating graph

            On 4 Jan 2007 04:29:50 -0800, "Sonnich" <sonnich.jensen @elektrobit.com wrote:
            >I need to create a page with a graph. Data will be read from a DB,
            >processed and then I should create a JPG or something to show.
            >Does any one know of a component which can do this?
            I recommend ChartDirector, provided you're able to install an extension
            module.

            If not, JpGraph looks decent enough.

            --
            Andy Hassall :: andy@andyh.co.u k :: http://www.andyh.co.uk
            http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

            Comment

            Working...