Country Visitors
Posted: October 22nd, 2004 | Author: Vitor | Filed under: Coding, Websites | No Comments »Here´s the chart of the top 6 countries that visited my website this month:
$chart[ 'axis_category' ] = array ( ’size’=>20, ‘color’=>”000″, ‘alpha’=>75, ‘font’=>”arial”, ‘bold’=>true, ’skip’=>0 ,’orientation’=>”diagonal_up” );
$chart[ 'canvas_bg' ] = array ( ‘width’=>480, ‘height’=>400, ‘color’=>”fff” );
$chart[ 'chart_data' ] = array ( array ( “”,”Hits”,”Visits” ), array ( “Network”,14136,730), array (”USCommercial”,10465,2468), array(”Portugal”,5861,119), array(”USEducational”,2873,86),
array(”Netherland”,1804,66), array(”Canada”,988,50));
$chart[ 'chart_rect' ] = array ( ‘x’=>60, ‘y’=>-30, ‘width’=>260, ‘height’=> 400 );
$chart[ 'chart_type' ] = “3d column” ;
$chart[ 'chart_value' ] = array ( ‘hide_zero’=>true, ‘color’=>”000″, ‘alpha’=>100, ‘font’=>”arial”, ‘bold’=>true, ’size’=>12, ‘position’=>”cursor”, ‘prefix’=>”", ’suffix’=>”", ‘decimals’=>0, ’separator’=>”", ‘as_percentage’=>true );
$chart[ 'legend_bg' ] = array ( ‘bg_color’=>”000000″, ‘bg_alpha’=>7, ‘border_color’=>”000000″, ‘border_alpha’=>0, ‘border_thickness’=>0 );
$chart[ 'legend_label' ] = array ( ‘layout’=>”horizontal”, ‘font’=>”arial”, ‘bold’=>true, ’size’=>12, ‘color’=>”000000″, ‘alpha’=>50 );
$chart[ 'legend_rect' ] = array ( ‘x’=>150, ‘y’=>50, ‘width’=>350, ‘height’=>50, ‘margin’=>10 );
$chart[ 'series_color' ] = array (”ff8844″,”88ff00″ );
$chart[ 'series_gap' ] = array ( ‘bar_gap’=>0, ’set_gap’=>20) ;
DrawChart ( $chart );
Expect more dynamic charts soon as i´m thinking of release this with a new version of Gollum style for Wordpress.