Bleep Bleep In At The Bleep End

Saturday, December 30, 2006
PHP/SWF Charts

PHP/SWF Charts

http://www.maani.us/charts/index.php

Allows you to create Flash charts on the fly in PHP.
Charts don't update as the data changes, unless you refresh, so you'd need to build in auto-page refresh to keep the data real time.

It requires you to be able to get your data into the following format...

$chart [ 'chart_data' ] = array ( array ( "",         "2001", "2002", "2003", "2004" ),
array ( "Region A", 5, 10, 30, 63 ),
array ( "Region B", 100, 20, 65, 55 ),
array ( "Region C", 56, 21, 5, 90 )
);
...where the array mimics a 2D table and everything outside the left column and top row is a number.

The gallery of styles is here...
http://www.maani.us/charts/index.php?menu=Gallery

Also see their Web Gauge and Slideshow products

Also see
http://www.amcharts.com/pie/

original tip via Download Squad

Posted by d - 10:09 am - 0 Comments

Add a Comment