How to create a jpeg bar chart with php

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

    How to create a jpeg bar chart with php

    Please let me know the easiest method to create a JPEG/GIF bar chart
    from PHP.
    I have found solutions that allow creation of swf/flash charts but I
    need a jpeg/jpg/gif bar chart.

  • twins

    #2
    Re: How to create a jpeg bar chart with php

    I need to know how to create stacked bar charts.
    as shown in
    Visual Mining Chart Gallery showcases a sampling of the 3D data visualization, dashboard charts data visualization tools you can create with NetCharts.

    "Basic Stacked Bar Graph"

    Comment

    • Juha Suni

      #3
      Re: How to create a jpeg bar chart with php

      "twins" <rohanroshan@gm ail.com> kirjoitti
      viestissä:11368 07024.317904.47 670@g14g2000cwa .googlegroups.c om...[color=blue]
      > Please let me know the easiest method to create a JPEG/GIF bar chart
      > from PHP.
      > I have found solutions that allow creation of swf/flash charts but I
      > need a jpeg/jpg/gif bar chart.[/color]

      GlobFX's Swiff Chart Generator is quite expensive but produces pretty much
      anything you might want, including jpg:


      Another popular graphing library for PHP is JpGraph, found at
      http://www.aditus.nu/jpgraph/. It might be perfect for you so I suggest you
      try it out.

      HTH

      --
      Suni


      Comment

      • Richard Brooks

        #4
        Re: How to create a jpeg bar chart with php

        twins wrote:[color=blue]
        > Please let me know the easiest method to create a JPEG/GIF bar chart
        > from PHP.
        > I have found solutions that allow creation of swf/flash charts but I
        > need a jpeg/jpg/gif bar chart.[/color]

        As you'd have access to the height of an image even through HTMLs IMG
        property, you could make each bar one colour JPEG/GIF image block and
        access that using data from a database to change the height of the block.

        I'd imagine the actual value would have to be the top-most location
        value minus the height if you want the bottom to stay along a horizontal
        line, the values growing upward.

        Richard.

        Comment

        • David Haynes

          #5
          Re: How to create a jpeg bar chart with php

          Richard Brooks wrote:[color=blue]
          > twins wrote:[color=green]
          >> Please let me know the easiest method to create a JPEG/GIF bar chart
          >> from PHP.
          >> I have found solutions that allow creation of swf/flash charts but I
          >> need a jpeg/jpg/gif bar chart.[/color]
          >
          > As you'd have access to the height of an image even through HTMLs IMG
          > property, you could make each bar one colour JPEG/GIF image block and
          > access that using data from a database to change the height of the block.
          >
          > I'd imagine the actual value would have to be the top-most location
          > value minus the height if you want the bottom to stay along a horizontal
          > line, the values growing upward.
          >
          > Richard.[/color]
          look for jpgraph. It will do this.

          -david-

          Comment

          • NC

            #6
            Re: How to create a jpeg bar chart with php

            twins wrote:[color=blue]
            >
            > Please let me know the easiest method to create a JPEG/GIF
            > bar chart from PHP.[/color]

            Check out JpGraph:



            Cheers,
            NC

            Comment

            • Richard Brooks

              #7
              Re: How to create a jpeg bar chart with php

              David Haynes wrote:[color=blue]
              > Richard Brooks wrote:
              >[color=green]
              >> twins wrote:
              >>[color=darkred]
              >>> Please let me know the easiest method to create a JPEG/GIF bar chart
              >>> from PHP.
              >>> I have found solutions that allow creation of swf/flash charts but I
              >>> need a jpeg/jpg/gif bar chart.[/color]
              >>
              >>
              >> As you'd have access to the height of an image even through HTMLs IMG
              >> property, you could make each bar one colour JPEG/GIF image block and
              >> access that using data from a database to change the height of the block.
              >>
              >> I'd imagine the actual value would have to be the top-most location
              >> value minus the height if you want the bottom to stay along a
              >> horizontal line, the values growing upward.
              >>
              >> Richard.[/color]
              >
              > look for jpgraph. It will do this.
              >
              > -david-[/color]

              I read that in the post I replied to but sometimes it's good to 'get
              down and dirty' and learn what is going on unless the poster 'can't be
              arsed!' ;-)

              Richard.


              Comment

              Working...