Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. Stock Chart

Stock Chart

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
questionphp
12 Posts 3 Posters 37 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    udch
    wrote on last edited by
    #1

    Can we use google charts in php for creating Stock Charts ? and what is imagecreate in php can I use this for create run time charts ?

    M 1 Reply Last reply
    0
    • U udch

      Can we use google charts in php for creating Stock Charts ? and what is imagecreate in php can I use this for create run time charts ?

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      Dunno about google charts, but image create is a function for creating images from predefined data. http://us2.php.net/manual/en/function.imagecreate.php[^] And yes you can use it to create graphs: http://www.marcfirth.co.uk/tutorials/php/Dynamic-Bar-Graphs.php[^]

      Neonlight

      B U 2 Replies Last reply
      0
      • M Marc Firth

        Dunno about google charts, but image create is a function for creating images from predefined data. http://us2.php.net/manual/en/function.imagecreate.php[^] And yes you can use it to create graphs: http://www.marcfirth.co.uk/tutorials/php/Dynamic-Bar-Graphs.php[^]

        Neonlight

        B Offline
        B Offline
        blahorst
        wrote on last edited by
        #3

        check out open flash chart

        M U 2 Replies Last reply
        0
        • B blahorst

          check out open flash chart

          M Offline
          M Offline
          Marc Firth
          wrote on last edited by
          #4

          funny I was just looking at that - it's a great resource. (Although, it looks like it only produced swf files (objects) not images - so I turned it down. I needed to be able to embed graphs into a pdf dynamically - which i can do with fpdf and images but not swfs.)

          Neonlight

          1 Reply Last reply
          0
          • B blahorst

            check out open flash chart

            U Offline
            U Offline
            udch
            wrote on last edited by
            #5

            Thanks for your help but i don't want to create chart with the help of flash I don't like it at all and amCharts is better than others for creating run time charts like intraday stock charts etc. if there is any other program for creating charts then suggest me. Thank You

            1 Reply Last reply
            0
            • M Marc Firth

              Dunno about google charts, but image create is a function for creating images from predefined data. http://us2.php.net/manual/en/function.imagecreate.php[^] And yes you can use it to create graphs: http://www.marcfirth.co.uk/tutorials/php/Dynamic-Bar-Graphs.php[^]

              Neonlight

              U Offline
              U Offline
              udch
              wrote on last edited by
              #6

              Here is the example of google line chart you can add some more things in it as you required http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=t:40,60,60,45,47,75,70,72   just past it in your browser for preview now can i use this in php and if yes then can you give me two like example because i am beginner in php.

              M 2 Replies Last reply
              0
              • U udch

                Here is the example of google line chart you can add some more things in it as you required http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=t:40,60,60,45,47,75,70,72   just past it in your browser for preview now can i use this in php and if yes then can you give me two like example because i am beginner in php.

                M Offline
                M Offline
                Marc Firth
                wrote on last edited by
                #7

                Link doesn't work http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=t:40,60,60,45,47,75,70,72[^]

                Neonlight

                M U 2 Replies Last reply
                0
                • M Marc Firth

                  Link doesn't work http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=t:40,60,60,45,47,75,70,72[^]

                  Neonlight

                  M Offline
                  M Offline
                  Marc Firth
                  wrote on last edited by
                  #8

                  working now

                  Neonlight

                  1 Reply Last reply
                  0
                  • U udch

                    Here is the example of google line chart you can add some more things in it as you required http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=t:40,60,60,45,47,75,70,72   just past it in your browser for preview now can i use this in php and if yes then can you give me two like example because i am beginner in php.

                    M Offline
                    M Offline
                    Marc Firth
                    wrote on last edited by
                    #9

                    http://www.mightystuff.net/code/php_chart_class[^]

                    Neonlight

                    U 1 Reply Last reply
                    0
                    • M Marc Firth

                      Link doesn't work http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=t:40,60,60,45,47,75,70,72[^]

                      Neonlight

                      U Offline
                      U Offline
                      udch
                      wrote on last edited by
                      #10

                      http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=t:40,60,60,45,47,75,70,72 please try this

                      1 Reply Last reply
                      0
                      • M Marc Firth

                        http://www.mightystuff.net/code/php_chart_class[^]

                        Neonlight

                        U Offline
                        U Offline
                        udch
                        wrote on last edited by
                        #11

                        Thanks for your help it is very impressive chart but i need line chart brother.No problem brother Thanks again

                        M 1 Reply Last reply
                        0
                        • U udch

                          Thanks for your help it is very impressive chart but i need line chart brother.No problem brother Thanks again

                          M Offline
                          M Offline
                          Marc Firth
                          wrote on last edited by
                          #12

                          try scrolling down

                          Neonlight

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups