flash chart
$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,
Ïà¹ØÎĵµ£º
Want play some .SWF files, so download "Adobe flash player for IE", then install successfully, but it is a plug, can't open the swf files independently, by the other word, I just can play them in IE, but I don't like so.
At first, I think there is a .exe player can be executing, so locate C:\windo ......
HTML clipboardThese days a
16GB USB thumb drive
is as necessary as your house keys. Whether you are
taking large work files back and forth from the office or are sharing pictures,
videos, and music with friends, nothing beats the convenience of a USB storage
drive. Well, why not make sure t ......
×òÌì¿´ÁËIBMÍøÕ¾ÉÏдµ½rcpÖÐÔËÐÐopen flash chart¾õµÃ²»´í×Ô¼º¾ÍÊÔ×ÅдÁËһϡ£
package com.chart.test;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.ole.win32.OLE;
import org.eclipse.swt.ole.win32.OleAutomation; ......
½ñÌìÔÚµ÷Õû¹«Ë¾ÍøÕ¾ÊÇ·¢ÏÖ£¬ÔÚÊÓÆµ²¥·ÅµÄÒ³Ãæ£¬·ÖÏí°´Å¥µ¯³öÍÆ¼ö²ã»á±»flash²¥·ÅÆ÷ÕÚµ²£¬¸ø²ã¼ÓÉÏz-indexÒ²²»Æð×÷Óã¬ÈçÊÇÈ¥googleÁËһϣ¬ÕÒµ½Ò»Ð©·½·¨£º
wmodeÊôÐÔ£º
“Window ” ÔÚ Web Ò³ÉÏÓÃӰƬ×Ô¼ºµÄ¾ØÐδ°¿ÚÀ´²¥·ÅÓ¦ÓóÌÐò£¬²¢ÇÒʼÖÕλÓÚ×î¶¥²ã¡£
“Opaque ” ÏÔÊ¾Ò³ÃæÉÏλÓÚËüºóÃæµÄÄÚÈÝ¡ ......
Íæ¹ý½ØÍ¼µÄÈ˶¼ÖªµÀ½ØÍ¼ÊÇÔõÑùÒ»»ØÊ£¬Í¨¹ý½ØÈ¡Í¼Æ¬Ò»¸öµØ·½¾ÍÄܹ»»ñÈ¡µ½Í¼Æ¬Ä³Ò»¸öƬ¶Î¡£ÕâÒ»¸ö²¿·ÖÔÚflash ÀïÃæ¿ÉÒÔÀûÓÃλͼµÄ¸´ÖÆÏñËØÀ´ÊµÏÖ¡£Í¨¹ýcopyPixels »òÕßdraw Äܹ»»ñÈ¡ÏñËØ¡£
ÏÖÔÚÎÒÃÇÌÖÂÛÒ»¸ö»°Ì⣺ÔÚflashÀïÃæÔõÑùʵÏÖÕâÖÖ½ØÍ¼£¿ ´ø×ÅÕâ¸öÎÊÌ⣬³¢ÊÔÖÆ×÷Ò»¸ödemo³öÀ´¡£¹¦ÄܾÍÊÇ»ñȡλͼ¡ ......