In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

flash on 2010-4-14

Get Adobe Flash player
by kihon 13 Apr 2010
    Embed
/**
 * Copyright kihon ( http://wonderfl.net/user/kihon )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/lDAp
 */

package
{
	import flash.display.Sprite;
	import com.bit101.charts.*;
 
	public class Main extends Sprite
	{
		public function Main()
		{
			var data:Array = [10, 20, 30, 40, 100, 40, 30, 20, 10];
			var bar:BarChart = new BarChart(this, 50, 20, data);
			var pie:PieChart = new PieChart(this, 50, bar.height + 20, data);
			var line:LineChart = new LineChart(this, 50, pie.y + pie.height + 20, data);
 
			line.showScaleLabels = bar.showScaleLabels = pie.showScaleLabels = true;
		}
	}
}