易截截图软件、单文件、免安装、纯绿色、仅160KB

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 );
其中第一个参数是设置线条的粗线,第一个参数是设置圆点的大小,第三个是参数是颜色值,第四个是参签名称,第五个是字体的大小 
$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, 


相关文档:

Flash中加载与执行顺序

作者:Merrycat 日期:2007-01-18
 
最近公司FLASH学习小组把我选为组长了 。今天我给大家讲了一下“Flash中加载与执行顺序”,昨天总结了一下午,今天在BLOG上写个教程。如要转载,请注明出处。
先从简单的开始吧。
例1:帧内代码的执行顺序。
在FLASH第一帧插入一下代码:
程序代码
var a:String = " ......

Metal F1 USB Flash Drive

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 ......

解决 flash 10 中文字体显示成方块的问题

/etc/fonts/conf.d/
编辑的文件为
sudo gedit ./49-sansserif.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
    <match target="p ......

flash资料

ScrollPane加载图片:http://flash.9ria.com/viewthread.php?tid=37296&highlight=ScrollPane
SoundChannel控制声音:http://flash.9ria.com/viewthread.php?tid=25745&highlight=Sound
捕获窗体变化事件:http://flash.9ria.com/viewthread.php?tid=7203&highlight=%E6%9C%80%E5%A4%A7%E5%8C%96
加载和卸载 ......

Flash与数学:圆

   圆在flash 当中的使用,是一种非常实用而且好玩的技术。它优点是简单,容易使用。对于一些不错的效果有很强的实用价值。例如,做一些圆周运动,旋转等都是很经常的做法。我们仅仅需要知道它的参数方程,和一般的方程就能够创造出一些不错的案例。
 圆的标准方程式:(x-a)2+(y-b)2=R2
而它的参数方程 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号