News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

Developer.com:
Graphing Data with PHP/SWF Charts
December 03, 2007 @ 11:14:00

Developer.com has a new tutorial posted today about using the PHP/SWF charting system to graph your data:

In this tutorial, I'll introduce you to PHP/SWF Charts, a great solution for building PHP- and Flash-driven charts. PHP/SWF supports a wide variety of charting formats, including bar, candlestick, 3D columns, pie, 3D pie, and advanced charts such as scatter, polar, and composites. See the maani.us PHP/SWF gallery for a great compilation of examples.

They focus mainly on a bar chart to keep things simple. They show how to install the software (dead easy) and how to create a simple first chart complete with a graphic to illustrate. Flat charts are nice, but they show some of the real power of the library by transforming it into a 3D bar graph, giving the columns some depth and all it really takes is changing the chart type.

0 comments voice your opinion now!
data graph phpswf chart bar 3d tutorial data graph phpswf chart bar 3d tutorial



Chris Hartjes' Blog:
Tutorial Integrating PHP/SWF Charts with CakePHP
September 27, 2006 @ 07:18:38

On his blog today, Chris Hartjes has posted a tutorial about getting charts, specifically SWF charts generated with PHP, into your CakePHP application.

Okay, for a project at work I was asked to add graphs to some of the reports I'd already created. So I looked around for solutions for graphing in PHP and stumbled upon PHP/SWF Charts as a solution.

He walks you through the installation (a simple unpacking) and the code that he used to get things set up and working, inluding his custom controller. His GraphsController functions the same way as any other controller, but uses a single action function to encapsulate the generation of the chart. This is then pushed out to the view where the PHP/SWF Charts system is implemented.

1 comment voice your opinion now!
cakephp framework phpswf chart dynamic action view controller cakephp framework phpswf chart dynamic action view controller



Community Events







Don't see your event here?
Let us know!


example database cakephp release book mysql developer conference application security zend releases PEAR job PHP5 framework code zendframework ajax package

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework