⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cartesianseries.as

📁 拓扑图基于SNMP数据采集模块的设计和实现
💻 AS
字号:
package com.yahoo.astra.fl.charts.series{	import com.yahoo.astra.fl.charts.legend.LegendItemData;		import fl.core.InvalidationType;		import flash.events.Event;	/**	 * Functionality common to most series appearing in cartesian charts.	 * Generally, a <code>CartesianSeries</code> object shouldn't be	 * instantiated directly. Instead, a subclass with a concrete implementation	 * should be used.	 * 	 * @author Josh Tynjala	 */	public class CartesianSeries extends Series implements ILegendItemSeries	{			//--------------------------------------	//  Constructor	//--------------------------------------			/**		 * Constructor.		 */		public function CartesianSeries(data:Object = null)		{			super(data);		}		//--------------------------------------	//  Properties	//--------------------------------------				/**		 * @private		 * Storage for the horizontalField property.		 */		private var _horizontalField:String;				/**		 * @copy com.yahoo.astra.fl.charts.ISeries#horizontalField		 */		public function get horizontalField():String		{			return this._horizontalField;		}				/**		 * @private		 */		public function set horizontalField(value:String):void		{			if(this._horizontalField != value)			{				this._horizontalField = value;				this.dispatchEvent(new Event("dataChange"));				this.invalidate(InvalidationType.DATA);			}		}				/**		 * @private		 * Storage for the verticalField property.		 */		private var _verticalField:String;				/**		 * @copy com.yahoo.astra.fl.charts.ISeries#verticalField		 */		public function get verticalField():String		{			return this._verticalField;		}				/**		 * @private		 */		public function set verticalField(value:String):void		{			if(this._verticalField != value)			{				this._verticalField = value;				this.dispatchEvent(new Event("dataChange"));				this.invalidate(InvalidationType.DATA);			}		}		//--------------------------------------	//  Public Methods	//--------------------------------------				/**		 * @copy com.yahoo.astra.fl.charts.series.ILegendItemSeries#createLegendItemData()		 */		public function createLegendItemData():LegendItemData		{			return new LegendItemData(this.displayName, this.getStyleValue("markerSkin"), this.getStyleValue("fillColor") as uint);		}			}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -