$g = new graph(); ½¨Á¢Ò»¸ö¶ÔÏó
$g->title( 'Spoon sales '. date("Y"), '{font-size: 26px;}' );
$g->set_data( $data ); ÉèÖÃÿ¸öµãµÄÊý
$g->line_hollow( 2, 4, '0x80a033', 'Spoon sales', 10 );
ÆäÖеÚÒ»¸ö²ÎÊýÊÇÉèÖÃÏßÌõµÄ´ÖÏߣ¬µÚÒ»¸ö²ÎÊýÊÇÉèÖÃÔ²µãµÄ´óС£¬µÚÈý¸öÊDzÎÊýÊÇÑÕɫֵ£¬µÚËĸöÊDzÎÇ©Ãû³Æ£¬µÚÎå¸öÊÇ×ÖÌåµÄ´óС
$g->set_x_labels( array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec' ) ); ÉèÖÃXµÄ×ø±êÖµ
$g->set_y_max( 60 ); ÉèÖÃYÖáµÄ×î´óÖµ£¬
// label every 20 (0,20,40,60)
$g->y_label_steps( 6 );½«YÖá°²×î´óÖµ·Ö³É¶àÉÙ¸ö²½³¤
<?php
include_once( 'ofc-library/open-flash-chart.php' );
$bar = new bar_sketch( 50, 6, '#99FF00', '#7030A0' ); »Öù״ͼ
$bar->key( '% Complete', 10 );ÉèÖñêÌâ±êÇ©
$data = array();
$labels = array();
$bar->data[] = 50;
$labels[] = 'Mon';
$bar->data[] = 65;
$labels[] = 'Tue';
$bar->data[] = 70;
$labels[] = 'Wed';
$bar->data[] = 75;
$labels[] = 'Thu';
$bar->data[] = 80;
$labels[] = 'Fri';
$bar->data[] = 89;
$labels[] = 'Sat';
$bar->data[] = 100;
$labels[] = 'Sun';
//
// ----
//
$g = new graph();
$g->title( 'Paper Mario, % complete', '{font-size: 18px; color: #A0A0A0;}' );
$g->set_tool_tip( 'Progress, #val#%' );//Êó±êµãµ½Öù״ͼÉÏËùÏÔʾµÄÄÚÈÝ
//
//
// set the X axis labels
$g->set_x_labels( $labels );
//$g->set_data( $data );
//$g->bar_sketch( 50, 6, '#99FF00', '#7030A0', '% Complete', 10 );
//
// add the bar object to the graph
//
$g->data_sets[] = $bar;
$g->set_x_label_style( 10,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Yimin</t ......
֮ǰÔÚWindowsÏÂÓùýFirefoxµÄ64λ°æ±¾£Shiretoko£¬µ«ÊÇÓÉÓÚ64λµÄflash player pluginÒ»Ö±°²×°²»ÉÏ£¬µ¼ÖºܶàÓ¦Óö¼Óò»ÁË£¬¾Ý˵¿ÉÒÔʹÓÃNSPlugin Wrapper°üºÍ32λµÄÀà¿âÀ´Ê¹ÓÃ32λµÄflash player£¬ÎÒûÓг¢ÊÔ¡£×î½ü°²×°ÁË64λµÄGentoo£¬operaºÍshiretoko»¹ÊÇÎÞ·¨×Ô¶¯°²×°64λµÄflash player plugin¡£ ......