随笔分类 - flex
摘要:<?xml version="1.0"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white" viewSourceURL="srcview/index.html"> <mx:Script> <!--[CDATA[ private functio
阅读全文
摘要:<?xml version="1.0"?><!-- charts/PredefinedAxisStyles.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ //导入相关包 import mx.collections.ArrayCollection; import mx.charts.*; import mx.charts.series.items.ColumnSerie
阅读全文
摘要:CategoryAxis有一个叫做labelFunction的属性,这个属性的定义:指定一个函数,用于定义为CategoryAxis的dataProvider中的各个项目生成的标签。所以修改的原理:可以利用labelFunction得到每个Label,然后再对其进行修改。片段代码:<mx:horizontalAxis> <mx:CategoryAxis id="ca" categoryField="@date" title="August 2007" labelFunction="categoryAxisL
阅读全文
摘要:<?xml version="1.0"?><!-- charts/PredefinedAxisStyles.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ //导入相关包 import mx.collections.ArrayCollection; import mx.charts.*; import mx.charts.series.items.ColumnSerie
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="doDraw()" backgroundColor="#d6d4d4" backgroundGradientColors="[#FFFFFF, #FFFFFF]"> <
阅读全文
摘要:<?xml version="1.0"?><!-- charts/BasicSeriesSlideEffect.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expenses1:ArrayCollection=new ArrayCollection
阅读全文
摘要:<?xml version="1.0"?><!-- charts/StandardEffectTriggers.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; import mx.effects.Fade; [Bindab
阅读全文
摘要:<?xml version="1.0"?><!-- charts/DataPointAlert.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.controls.Alert; import mx.charts.events.ChartItemEvent; import mx.collections.ArrayCollection; [Bindable
阅读全文
摘要:<?xml version="1.0"?><!-- charts/ColumnWithDropShadow.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:flash="flash.filters.*"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expense
阅读全文
摘要:<?xml version="1.0"?><!-- charts/GradientFills.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expenses:ArrayCollection=new ArrayCollection([{Expense
阅读全文
摘要:<?xml version="1.0"?><!-- charts/VerticalLineChart.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expenses:ArrayCollection=new ArrayCollection([{Mon
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initApp()" backgroundColor="#d6d4d4" backgroundGradientColors="[#FFFFFF, #FFFFFF]"> &l
阅读全文
摘要:<?xml version="1.0"?><!-- charts/MemoryGraph.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="initTimer()"> <mx:Script> <!--[CDATA[ import flash.utils.Timer; import flash.events.TimerEvent; import mx.collections.Ar
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initApp()" backgroundColor="#FFFFFF"> <mx:Canvas id="paper" x="30" y=&quo
阅读全文
摘要:<img src="http://p.blog.csdn.net/images/p_blog_csdn_net/zhongweijian/EntryImages/20091221/1.jpg" mce_src="http://p.blog.csdn.net/images/p_blog_csdn_net/zhongweijian/EntryImages/20091221/1.jpg"/><span id="__caret">_</span><?xml version="1.0"
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <!-- Simple example to demonstrate the DateTimeAxis class. --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> import mx.collections.ArrayCollection; import mx.charts.chartClasses.IAxi
阅读全文
摘要:<?xml version="1.0"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var data1:ArrayCollection=new ArrayCollection([{date:"10月1日", all:4001.87}, {date:"
阅读全文
摘要:<?xml version="1.0"?><!-- Simple example to demonstrate the DateTimeAxis class. --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var stockDataAC:ArrayCollectio
阅读全文

浙公网安备 33010602011771号