{"id":90,"date":"2008-04-30T14:53:03","date_gmt":"2008-04-30T20:53:03","guid":{"rendered":"http:\/\/pessoal.org\/blog\/?p=90"},"modified":"2008-04-30T14:53:03","modified_gmt":"2008-04-30T20:53:03","slug":"generating-graphs-with-php-and-google-charts-api","status":"publish","type":"post","link":"https:\/\/pessoal.org\/blog\/2008\/04\/30\/generating-graphs-with-php-and-google-charts-api\/","title":{"rendered":"Generating Graphs with PHP and Google Charts API"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/pessoal.org\/blog\/wp-content\/uploads\/2008\/04\/chart.png\" alt=\"\" title=\"Example of graph created through this library\" width=\"300\" height=\"200\" class=\"alignleft size-full wp-image-95\" \/><\/p>\n<p>Ludwig Pettersson has a <a href=\"http:\/\/luddep.se\/notebook\/2008\/04\/charts_with_php_and_google_charts_api\">really good overview of the Google Charts API<\/a>, and how you can integrate your PHP scripts with it. He created a PHP library that wraps around the API, and makes it really easy to generate graphs that way.<\/p>\n<p>I&#8217;m not sure if I would move away from <a href=\"http:\/\/www.aditus.nu\">JpGraph<\/a> to this new library, but it seems really cool no matter what. I guess it could be an option if you wanted to avoid doing all of the manual work associated with different types of graphs, and offload some graph generation to Google.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ludwig Pettersson has a really good overview of the Google Charts API, and how you can integrate your PHP scripts with it. He created a PHP library that wraps around the API, and makes it really easy to generate graphs that way. I&#8217;m not sure if I would move away from JpGraph to this new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[32,3],"tags":[],"_links":{"self":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts\/90"}],"collection":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":0,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions"}],"wp:attachment":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/media?parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/categories?post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/tags?post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}