| 包 | mx.charts.series | 
| 类 | public class LineSeries | 
| 继承 | LineSeries    Series   ChartElement   DualStyleObject   UIComponent   FlexSprite   Sprite   DisplayObjectContainer   InteractiveObject   DisplayObject   EventDispatcher   Object | 
| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
隐藏 MXML 语法The <mx:LineSeries> tag inherits all the properties
  of its parent classes and adds the following properties:
  <mx:LineSeries
    Properties
    fillFunction="Internal fill function"
    horizontalAxis="No default"
    interpolateValues="false|true"
    sortOnXField="false|true"
    verticalAxis="No default"
    xField="null"
    yField="null"
 
    Styles
    adjustedRadius="2"
    fill="0xFFFFFF"
    fills="IFill; no default"
    form="segment|curve|horizontal|reverseStep|step|vertical"
    itemRenderer="itemRenderer"
    legendMarkerRenderer="Defaults to series's itemRenderer"
    lineSegmentRenderer="ShadowLineRenderer"
    lineStroke="Stroke(0xE47801,3)"
    radius="4"
    stroke="IStroke; no default" 
  />
  
  
  相关 API 元素
| 属性 | 由以下参数定义 | ||
|---|---|---|---|
![]()  | accessibilityDescription : String 
      一个方便的存取器,用于访问此 UIComponent 的 accessibilityProperties 对象的 description 属性。  | UIComponent | |
![]()  | accessibilityEnabled : Boolean 
      一个方便的存取器,用于访问此 UIComponent 的 accessibilityProperties 对象的 silent 属性。  | UIComponent | |
![]()  | accessibilityImplementation : AccessibilityImplementation 
	 InteractiveObject 实例的当前辅助功能实现 (AccessibilityImplementation)。  | InteractiveObject | |
![]()  | accessibilityName : String 
      一个方便的存取器,用于访问此 UIComponent 的 accessibilityProperties 对象的 name 属性。  | UIComponent | |
![]()  | accessibilityProperties : AccessibilityProperties 
     此显示对象的当前辅助功能选项。  | DisplayObject | |
![]()  | accessibilityShortcut : String 
      一个方便的存取器,用于访问此 UIComponent 的 accessibilityProperties 对象的 shortcut 属性。  | UIComponent | |
![]()  | activeEffects : Array [只读] 
      组件上当前播放的效果列表,如 EffectInstance 实例的 Array。  | UIComponent | |
![]()  | alpha : Number 
     表示指定对象的 Alpha 透明度值。  | DisplayObject | |
![]()  | automationDelegate : Object 
      处理自动化相关功能的委托对象。  | UIComponent | |
![]()  | automationEnabled : Boolean [只读] 
      
      如果此组件启用了自动化,则为 true;否则为 false。  | UIComponent | |
![]()  | automationName : String 
      
      可用作此对象的标识符的名称。  | UIComponent | |
![]()  | automationOwner : DisplayObjectContainer [只读] 
      
      用于自动化目的的此组件的所有者。  | UIComponent | |
![]()  | automationParent : DisplayObjectContainer [只读] 
      
      用于自动化目的的此组件的父级。  | UIComponent | |
![]()  | automationTabularData : Object [只读] 
      
     IAutomationTabularData 接口的实现,可用于检索数据。  | UIComponent | |
![]()  | automationValue : Array [只读] 
      此值通常对应于对象的经呈示的外观,当对象在应用中以可视方式显示时,此值使标识符与该对象相关联。  | UIComponent | |
![]()  | automationVisible : Boolean [只读] 
      
      如果此组件对于自动化是可见的,则为 true;否则为 false。  | UIComponent | |
![]()  | baseline : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | baselinePosition : Number [只读] 
      
      组件第一行文本的基线的 y 坐标。  | UIComponent | |
![]()  | blendMode : String 
     BlendMode 类中的一个值,用于指定要使用的混合模式。  | DisplayObject | |
![]()  | blendShader : Shader [只写] 
     设置用于混合前景和背景的着色器。  | DisplayObject | |
![]()  | bottom : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | buttonMode : Boolean 
     指定此 sprite 的按钮模式。  | Sprite | |
![]()  | cacheAsBitmap : Boolean 
     如果设置为 true,则 Flash 运行时将缓存显示对象的内部位图表示形式。  | DisplayObject | |
![]()  |     cacheAsBitmapMatrix : Matrix 
     如果为非 null,则 Matrix 对象会定义显示对象在 cacheAsBitmap 设置为 true 时的呈现方式。  | DisplayObject | |
![]()  | cacheHeuristic : Boolean [只写] 
      供 Flex 使用,表示建议为对象实施位图缓存。  | UIComponent | |
![]()  | cachePolicy : String 
      指定此对象的位图缓存策略。  | UIComponent | |
![]()  | chartDataProvider : Object [只写] 
      分配给封闭图表的数据提供程序。  | ChartElement | |
![]()  | className : String [只读] 
      此实例的类的名称,如“Button”。  | UIComponent | |
![]()  | constructor : Object 
	 对类对象或给定对象实例的构造函数的引用。  | Object | |
![]()  | contentMouseX : Number [只读] 
      返回鼠标在内容坐标系中的 x 位置。  | UIComponent | |
![]()  | contentMouseY : Number [只读] 
      返回内容坐标系中鼠标的 y 位置。  | UIComponent | |
![]()  | contextMenu : NativeMenu  
	 指定与此对象相关联的上下文菜单。  | InteractiveObject | |
![]()  | currentState : String 
      组件的当前视图状态。  | UIComponent | |
![]()  | cursorManager : ICursorManager [只读] 
      获取控制此组件及其同级组件的光标的 CursorManager。  | UIComponent | |
![]()  | dataFunction : Function 
     指定一个返回数值的方法,该数值用于在系列中放置当前图表项目。  | Series | |
![]()  | dataProvider : Object 
      分配给此特定元素的数据提供程序。  | ChartElement | |
![]()  | dataTipItems : Array 
      一个图表项目数组,将在图表上以非交互方式为这些项目显示数据提示。  | Series | |
![]()  | dataTransform : mx.charts.chartClasses:DataTransform [覆盖] 
      
      与元素关联的 DataTransform 对象。  | Series | |
![]()  | depth : Number 
      
      确定容器内各项目的呈示顺序。  | UIComponent | |
![]()  | descriptor : UIComponentDescriptor 
      引用 UIComponentDescriptor(如果有),过去曾通过 createComponentFromDescriptor() 方法使用它来创建此 UIComponent 实例。  | UIComponent | |
![]()  | designLayer : DesignLayer 
      指定与该可视元素关联的可选 DesignLayer 实例。  | UIComponent | |
![]()  | displayName : String 
      显示给用户的系列名称。  | Series | |
![]()  | document : Object 
      引用与此 UIComponent 相关联的文档对象。  | UIComponent | |
![]()  | doubleClickEnabled : Boolean [覆盖] 
      指定 UIComponent 对象是否接收 doubleClick 事件。  | UIComponent | |
![]()  | dropTarget : DisplayObject [只读] 
	 指定拖动 sprite 时经过的显示对象,或放置 sprite 的显示对象。  | Sprite | |
![]()  | enabled : Boolean 
      组件是否可以接受用户交互。  | UIComponent | |
![]()  | errorString : String 
      当验证程序监视组件并且验证失败时,组件的错误提示中将显示的文本。  | UIComponent | |
![]()  | explicitHeight : Number 
      指定该组件在组件坐标中显式高度(以像素为单位)的数字。  | UIComponent | |
![]()  | explicitMaxHeight : Number 
      布局过程中父级要考虑的组件最大建议高度。  | UIComponent | |
![]()  | explicitMaxWidth : Number 
      布局过程中父级要考虑的组件最大建议宽度。  | UIComponent | |
![]()  | explicitMinHeight : Number 
      布局过程中父级要考虑的组件最小建议高度。  | UIComponent | |
![]()  | explicitMinWidth : Number 
      布局过程中父级要考虑的组件最小建议宽度。  | UIComponent | |
![]()  | explicitWidth : Number 
      指定该组件在组件坐标中显式宽度(以像素为单位)的数字。  | UIComponent | |
| fillFunction : Function 
     指定返回系列中当前图表项目的填充的方法。  | LineSeries | ||
![]()  | filterData : Boolean 
      如果设置了 filterFuction 或 filterDataValues,则会忽略 filterData。  | Series | |
![]()  | filterDataValues : String 
      如果设置了 filterFuction,则会忽略 filterDataValues 和 filterData。  | Series | |
![]()  | filterFunction : Function 
     指定一种方法,用于返回系列中要显示的图表项的数组。  | Series | |
![]()  | filters : Array 
     包含当前与显示对象关联的每个滤镜对象的索引数组。  | DisplayObject | |
![]()  | flexContextMenu : IFlexContextMenu 
      此 UIComponent 的上下文菜单。  | UIComponent | |
![]()  | focusEnabled : Boolean 
      指示切换到此组件时,是否可以获得焦点。  | UIComponent | |
![]()  | focusManager : IFocusManager 
      获取控制此组件及其同级组件的焦点的 FocusManager。  | UIComponent | |
![]()  | focusPane : Sprite 
      与此对象相关联的焦点窗格。  | UIComponent | |
![]()  | focusRect : Object  
	 指定此对象是否显示焦点矩形。  | InteractiveObject | |
![]()  | graphics : Graphics [只读] 
     指定属于此 sprite 的 Graphics 对象,在此 sprite 中可执行矢量绘图命令。  | Sprite | |
![]()  | hasFocusableChildren : Boolean 
      一个标志,指示子对象是否能够获得焦点。  | UIComponent | |
![]()  | hasLayoutMatrix3D : Boolean [只读] 
      
      如果元素具有 3D 矩阵,则为 true。  | UIComponent | |
![]()  | height : Number [覆盖] 
      指定组件在父坐标中的高度的数字(以像素为单位)。  | UIComponent | |
![]()  | hitArea : Sprite 
	 指定一个 sprite 用作另一个 sprite 的点击区域。  | Sprite | |
| horizontalAxis : IAxis 
      为 x 轴上的项定义标签、刻度线和数据位置。  | LineSeries | ||
![]()  | horizontalCenter : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | id : String 
      组件 ID。  | UIComponent | |
![]()  | includeInLayout : Boolean 
      指定此组件是否包含在父容器的布局中。  | UIComponent | |
![]()  | inheritingStyles : Object 
      此组件的继承样式链的开头内容。  | UIComponent | |
![]()  | initialized : Boolean 
      一个标志,用于确定某个对象是否已通过布局的所有三个阶段:提交、测量和布局(假设每个阶段都是必需的)。  | UIComponent | |
![]()  | instanceIndex : int [只读] 
      重复组件的索引。  | UIComponent | |
![]()  | instanceIndices : Array 
      一个 Array,包含从此 UIComponent 对象的父文档引用该对象所需的索引。  | UIComponent | |
![]()  | interactive : Boolean 
      确定当用户与屏幕上的图表数据进行交互时是否显示数据提示。  | Series | |
![]()  | internalStyleName : Object 
      此实例从中继承值的类选择器的名称。  | DualStyleObject | |
| interpolateValues : Boolean  
      指定如何表示丢失的数据。  | LineSeries | ||
![]()  | is3D : Boolean [只读] 
      
      当元素为 3D 时,则为 true。  | UIComponent | |
![]()  | isDocument : Boolean [只读] 
      如果此 UIComponent 实例为文档对象,则为 true。  | UIComponent | |
![]()  | isPopUp : Boolean 
      PopUpManager 将其设置为 true 以指示已弹出该组件。  | UIComponent | |
| items : Array [覆盖] [只读] 
        | LineSeries | ||
![]()  | labelContainer : Sprite [只读] 
      
      用于显示由此元素显示的标签的 DisplayObject。  | ChartElement | |
![]()  | layoutMatrix3D : Matrix3D [只写] 
      用于相对于其同级组件计算组件的布局的转换矩阵。  | UIComponent | |
![]()  | left : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | legendData : Array [只读] 
      一个 LegendData 实例 Array,描述应在表示此系列的图例中显示的项目。  | Series | |
![]()  | loaderInfo : LoaderInfo [只读] 
     返回一个 LoaderInfo 对象,其中包含加载此显示对象所属的文件的相关信息。  | DisplayObject | |
![]()  | maintainProjectionCenter : Boolean 
      如果为 true,则该组件将使其投影矩阵在其边框的中央保持居中。  | UIComponent | |
![]()  | mask : DisplayObject 
     调用显示对象被指定的 mask 对象遮罩。  | DisplayObject | |
![]()  | maxHeight : Number 
      布局过程中父级要考虑的组件最大建议高度。  | UIComponent | |
![]()  | maxWidth : Number 
      布局过程中父级要考虑的组件最大建议宽度。  | UIComponent | |
![]()  | measuredHeight : Number 
      组件的默认高度(以像素为单位)。  | UIComponent | |
![]()  | measuredMinHeight : Number 
      组件的默认最小高度(以像素为单位)。  | UIComponent | |
![]()  | measuredMinWidth : Number 
      组件的默认最小宽度(以像素为单位)。  | UIComponent | |
![]()  | measuredWidth : Number 
      组件的默认宽度(以像素为单位)。  | UIComponent | |
![]()  | metaData : Object 
     如果元数据是通过 PlaceObject4 标记与此 DisplayObject 的实例一起存储在 SWF 文件中的,则获取 DisplayObject 实例的元数据对象。  | DisplayObject | |
![]()  | minHeight : Number 
      布局过程中父级要考虑的组件最小建议高度。  | UIComponent | |
![]()  | minWidth : Number 
      布局过程中父级要考虑的组件最小建议宽度。  | UIComponent | |
| moduleFactory : IFlexModuleFactory [覆盖] 
        | LineSeries | ||
![]()  | mouseChildren : Boolean 
	 确定对象的子级是否支持鼠标或用户输入设备。  | DisplayObjectContainer | |
![]()  | mouseEnabled : Boolean  
	 指定此对象是否接收鼠标或其他用户输入、消息。  | InteractiveObject | |
![]()  | mouseFocusEnabled : Boolean 
      单击时是否可获得焦点。  | UIComponent | |
![]()  | mouseX : Number [只读] 
     表示此鼠标或用户输入设备位置的 x 坐标,以像素为单位。  | DisplayObject | |
![]()  | mouseY : Number [只读] 
     表示此鼠标或用户输入设备位置的 y 坐标,以像素为单位。  | DisplayObject | |
![]()  | name : String 
     表示 DisplayObject 的实例名称。  | DisplayObject | |
![]()  | needsSoftKeyboard : Boolean  
	 指定当该 InteractiveObject 实例获得焦点时,是否显示虚拟键盘(显示在屏幕上的软键盘)。  | InteractiveObject | |
![]()  | nestLevel : int 
      此对象在所属关系层次结构中的深度。  | UIComponent | |
![]()  | nonInheritingStyles : Object 
      此组件的非继承样式链的开头内容。  | UIComponent | |
![]()  | numAutomationChildren : int [只读] 
      
      此容器包含的自动化子项数。  | UIComponent | |
![]()  | numChildren : int [只读] 
	 返回此对象的子项数目。  | DisplayObjectContainer | |
![]()  | opaqueBackground : Object 
     指定显示对象是否由于具有某种背景颜色而不透明。  | DisplayObject | |
![]()  | owner : DisplayObjectContainer 
      此 IVisualElement 对象的所有者。  | UIComponent | |
![]()  | parent : DisplayObjectContainer [覆盖] [只读] 
      此组件的父容器或组件。  | UIComponent | |
![]()  | parentApplication : Object [只读] 
      引用包含此 UIComponent 实例的 Application 对象。  | UIComponent | |
![]()  | parentDocument : Object [只读] 
      引用此 UIComponent 的父文档对象。  | UIComponent | |
![]()  | percentHeight : Number 
      以组件父代大小百分比的方式指定组件高度。  | UIComponent | |
![]()  | percentWidth : Number 
      以组件父代大小百分比的方式指定组件宽度。  | UIComponent | |
![]()  | postLayoutTransformOffsets : mx.geom:TransformOffsets 
      定义能够应用于对象转换且在一定程度上对其父布局不可视的一组调整。  | UIComponent | |
![]()  | processedDescriptors : Boolean 
      临时或延迟子项创建操作后设置为 true,具体取决于发生对象。  | UIComponent | |
| radius : Number  
      指定数据点的图表元素的半径(以像素为单位)。  | LineSeries | ||
![]()  | repeater : IRepeater [只读] 
      对生成此 UIComponent 的父文档中 Repeater 对象的引用。  | UIComponent | |
![]()  | repeaterIndex : int [只读] 
      项目在生成此 UIComponent 的 Repeater 数据提供程序中的索引。  | UIComponent | |
![]()  | repeaterIndices : Array 
      一个 Array,包含项目在生成此 UIComponent 的父文档的 Repeater 数据提供程序中的索引。  | UIComponent | |
![]()  | repeaters : Array 
      一个 Array,包含对生成此 UIComponent 的父文档中 Repeater 对象的引用。  | UIComponent | |
![]()  | right : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | root : DisplayObject [只读] 
     对于加载的 SWF 文件中的显示对象,root 属性是此 SWF 文件所表示的显示列表树结构部分中的顶级显示对象。  | DisplayObject | |
![]()  | rotation : Number [覆盖] 
     表示 DisplayObject 实例距其原始方向的旋转程度,以度为单位。  | UIComponent | |
![]()  | rotationX : Number [覆盖] 
     表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 x 轴旋转(以度为单位)。  | UIComponent | |
![]()  | rotationY : Number [覆盖] 
     表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 y 轴旋转(以度为单位)。  | UIComponent | |
![]()  | rotationZ : Number [覆盖] 
      
     表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 z 轴旋转(以度为单位)。  | UIComponent | |
![]()  | scale9Grid : Rectangle 
     当前有效的缩放网格。  | DisplayObject | |
![]()  | scaleX : Number [覆盖] 
      用于指定水平缩放系数的数字。  | UIComponent | |
![]()  | scaleY : Number [覆盖] 
      用于指定垂直缩放系数的数字。  | UIComponent | |
![]()  | scaleZ : Number [覆盖] 
      指定沿着 z 轴的缩放因子的数值。  | UIComponent | |
![]()  | screen : Rectangle [只读] 
      返回包含此对象的基本绘图表面大小和位置的对象。  | UIComponent | |
![]()  | scrollRect : Rectangle 
     显示对象的滚动矩形范围。  | DisplayObject | |
![]()  | selectable : Boolean 
      指示系列是否可选。  | Series | |
![]()  | selectedIndex : int 
      系列的数据提供程序中所选项目的索引。  | Series | |
![]()  | selectedIndices : Array 
      系列的数据提供程序中所选项目的索引 Array。  | Series | |
![]()  | selectedItem : ChartItem 
      系列中选定的图表项目。  | Series | |
![]()  | selectedItems : Array 
      系列中选定的图表项目 Array。  | Series | |
![]()  | showInAutomationHierarchy : Boolean 
       
      用于确定自动化对象是否显示在自动化层次中的标志。  | UIComponent | |
![]()  |     softKeyboard : String 
    控制软键盘的外观。  | InteractiveObject | |
![]()  | softKeyboardInputAreaOfInterest : Rectangle  
     定义当显示软键盘时应在屏幕上保留的区域(在 iOS 上不支持)。  | InteractiveObject | |
| sortOnXField : Boolean  
      在呈示之前请求从左到右对线段数据点进行排序。  | LineSeries | ||
![]()  | soundTransform : flash.media:SoundTransform 
	 控制此 sprite 中的声音。  | Sprite | |
![]()  | stage : Stage [只读] 
     显示对象的舞台。  | DisplayObject | |
![]()  | states : Array 
      为此组件定义的视图状态。  | UIComponent | |
![]()  | styleDeclaration : CSSStyleDeclaration 
      存储此对象的内嵌继承样式。  | UIComponent | |
![]()  | styleManager : IStyleManager2 [只读] 
      返回此组件使用的 StyleManager 实例。  | UIComponent | |
![]()  | styleName : Object 
      此组件使用的类样式。  | UIComponent | |
![]()  | styleParent : IAdvancedStyleClient 
      组件的父项用于评估后代选择器。  | UIComponent | |
![]()  | systemManager : ISystemManager 
      返回此组件使用的 SystemManager 对象。  | UIComponent | |
![]()  | tabChildren : Boolean 
	 确定对象的子项是否支持 Tab 键。  | DisplayObjectContainer | |
![]()  | tabEnabled : Boolean  
	 指定此对象是否遵循 Tab 键顺序。  | InteractiveObject | |
![]()  | tabFocusEnabled : Boolean 
      一个标志,指示该对象是否能够通过 Tab 键获得焦点。这与 Flash Player 使用的 tabEnabled 属性类似。对于处理键盘输入的组件该标志通常为 true,但是控件栏中的一些组件将其设置为 false,因为它们不能像编辑器一样从另外的组件窃取焦点。  | UIComponent | |
![]()  | tabIndex : int  
   	 指定 SWF 文件中的对象按 Tab 键顺序排列。  | InteractiveObject | |
![]()  | textSnapshot : flash.text:TextSnapshot [只读] 
     返回此 DisplayObjectContainer 实例的 TextSnapshot 对象。  | DisplayObjectContainer | |
![]()  | toolTip : String 
      要在 ToolTip 中显示的文本。  | UIComponent | |
![]()  | top : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | transform : flash.geom:Transform [覆盖] 
      一个对象,具有与显示对象的矩阵、颜色转换和像素范围有关的属性。  | UIComponent | |
![]()  | transformX : Number 
      设置组件转换中心的 x 坐标。  | UIComponent | |
![]()  | transformY : Number 
      设置组件转换中心的 y 坐标。  | UIComponent | |
![]()  | transformZ : Number 
      设置组件转换中心的 z 坐标。  | UIComponent | |
![]()  | transitionRenderData : Object 
      通过运行过渡传入的呈示数据结构。  | Series | |
![]()  | transitions : Array 
      一个 Transition 对象 Array,其中的每个 Transition 对象都定义一组效果,用于在视图状态发生更改时播放。  | UIComponent | |
![]()  | tweeningProperties : Array 
      当前在此对象上进行补间的属性数组。  | UIComponent | |
![]()  | uid : String 
      对象的唯一标识符。  | UIComponent | |
![]()  | updateCompletePendingFlag : Boolean 
      一个标志,确定某个对象是否已通过所有三个阶段的布局验证(假设需要通过所有验证)。  | UIComponent | |
![]()  | useHandCursor : Boolean 
	 布尔值,表示当指针滑过 buttonMode 属性设置为 true 的 sprite 时是否显示指针手形(手形光标)。  | Sprite | |
![]()  | validationSubField : String 
      供验证程序用来将子字段与此组件相关联。  | UIComponent | |
| verticalAxis : IAxis 
      为 y 轴上的项目定义标签、刻度线和数据位置。  | LineSeries | ||
![]()  | verticalCenter : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | visible : Boolean [覆盖] 
      显示对象是否可见。  | UIComponent | |
![]()  | width : Number [覆盖] 
      指定组件在父坐标中的宽度的数字(以像素为单位)。  | UIComponent | |
![]()  | x : Number [覆盖] 
      指定组件在其父容器中的水平位置(以像素为单位)的数字。  | UIComponent | |
| xField : String 
      指定用于确定每个数据点的 x 轴位置的数据提供程序字段。  | LineSeries | ||
![]()  | y : Number [覆盖] 
      指定组件在其父容器中的垂直位置(以像素为单位)的数字。  | UIComponent | |
| yField : String 
      指定用于确定每个数据点的 y 轴位置的数据提供程序字段。  | LineSeries | ||
![]()  | z : Number [覆盖] 
      
     表示 DisplayObject 实例相对于 3D 父容器沿 z 轴的 z 坐标位置。  | UIComponent | |
| 属性 | 由以下参数定义 | ||
|---|---|---|---|
![]()  | chart : ChartBase [只读] 
      指的是包含此元素的图表组件。  | ChartElement | |
![]()  | currentCSSState : String [只读] 
      匹配 CSS 伪选择器时要使用的状态。  | UIComponent | |
![]()  | cursor : IViewCursor 
      每个 ChartElement 都有一个与其 dataProvider 关联的光标,供内部使用。  | ChartElement | |
![]()  | hasComplexLayoutMatrix : Boolean [只读] 
      如果 UIComponent 具有任何非平移 (x,y) 转换属性,则返回 true。  | UIComponent | |
| itemType : Class [只读] 
      此系列用于表示各项目的 ChartItem 的子类型。  | LineSeries | ||
| lineSegmentType : Class [只读] 
      此系列使用该类存储表示线段必需的所有数据。  | LineSeries | ||
![]()  | renderData : Object [只读] 
      存储必要信息以呈示此系列。  | Series | |
| renderDataType : Class [只读] 
      此系列用于存储所有必须呈示的数据的 ChartRenderData 子类型。  | LineSeries | ||
![]()  | resourceManager : IResourceManager [只读] 
      对管理所有应用程序本地化资源的对象的引用。  | UIComponent | |
![]()  | unscaledHeight : Number [只读] 
      用于确定组件的未缩放高度的简便方法。  | UIComponent | |
![]()  | unscaledWidth : Number [只读] 
      用于确定组件的未缩放宽度的简便方法。组件的绘图和子布局的所有设置均应在以此宽度为宽的矩形边框中完成,还应将此宽度作为参数传递到 updateDisplayList() 中。  | UIComponent | |
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
      构造函数。  | LineSeries | ||
![]()  | [覆盖] 
      
      在此子项列表的末尾添加一个子 DisplayObject。  | ChartElement | |
![]()  | [覆盖] 
     将一个 DisplayObject 子实例添加到该 DisplayObjectContainer 实例中。  | ChartElement | |
![]()  | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void 
	使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。  | EventDispatcher | |
![]()  | 
      将非可视样式客户端添加到该组件实例。  | UIComponent | |
![]()  | 
	 表示安全限制是否会导致出现以下情况:在列表中忽略了使用指定 point 点调用 DisplayObjectContainer.getObjectsUnderPoint() 方法时返回的所有显示对象。  | DisplayObjectContainer | |
![]()  | 
      此方法由 SeriesInterpolate 效果调用,用以启动 interpolation 效果。  | Series | |
![]()  | 
      排队稍后调用的函数。  | UIComponent | |
![]()  | 
      
      封闭图表调用此方法来指示该图表的当前状态已更改。  | ChartElement | |
![]()  | [覆盖] 
      图表调用此方法来允许相关元素声明其 chartSeriesStyles Array 中的样式选择器。  | Series | |
![]()  | 
      删除此组件实例的样式属性。  | UIComponent | |
![]()  | 
      
      封闭图表调用此方法来收集特定元素在图表状态发生更改时可能执行的任何过渡。  | ChartElement | |
![]()  | 
	 确定指定显示对象是 DisplayObjectContainer 实例的子项还是该实例本身。  | DisplayObjectContainer | |
![]()  | 
      将 Point 对象由内容坐标转换为全局坐标。  | UIComponent | |
![]()  | 
      将 Point 对象由内容坐标转换为本地坐标。  | UIComponent | |
![]()  | 
      
      返回标识此容器中的子项的一组属性。  | UIComponent | |
![]()  | 
      
	  返回标识此容器中的子项的一组属性。  | UIComponent | |
![]()  | 
      
      在 IUIComponent 对象的父项文档对象上创建对此对象的 id 引用。  | UIComponent | |
![]()  | 
      
      将数据值元组转换为屏幕上的 x-y 坐标。  | ChartElement | |
![]()  | 
      
      在 IUIComponent 对象的父项文档对象上删除对此对象的 id 引用。  | UIComponent | |
![]()  | 
      
      由具有控制地位的 DataTransform 调用,以获得由此 IChartElement 表示的数据描述。  | ChartElement | |
![]()  | 
      返回与此 UIComponent 的文本样式对应的 UITextFormat 对象。  | UIComponent | |
![]()  | [覆盖] 
      将事件调度到事件流中。  | UIComponent | |
![]()  | 
      在此组件周围显示或隐藏焦点指示符。  | UIComponent | |
![]()  | drawRoundRect(x:Number, y:Number, w:Number, h:Number, r:Object = null, c:Object = null, alpha:Object = null, rot:Object = null, gradient:String = null, ratios:Array = null, hole:Object = null):void 
      通过编程方式在此外观的 Graphics 对象中绘制一个矩形。  | UIComponent | |
![]()  | 
      停止在组件上播放效果实例时,由效果实例调用。  | UIComponent | |
![]()  | 
      开始在组件上播放效果实例时,由效果实例调用。  | UIComponent | |
![]()  | 
      结束组件上当前播放的所有效果。  | UIComponent | |
![]()  | 
      此方法由 SeriesInterpolate 效果调用,用以结束 interpolation 效果。  | Series | |
![]()  | 
      执行 UIComponent 对象是目标的所有绑定。  | UIComponent | |
![]()  |  
      在给定坐标“下方”查找由该元素表示的最近数据点。  | ChartElement | |
![]()  | 
      打印完成后调用。  | UIComponent | |
![]()  | 
      返回所有基础 ChartElement 的项目的 HitData 数组,在 showAllDataTips 设置为 true 时将在图表上显示此 ChartElement 的 dataTip。
     
        | ChartElement | |
![]()  | 
       
      在指定的索引位置提供自动化对象。  | UIComponent | |
![]()  | 
       
	  提供自动化对象列表。  | UIComponent | |
![]()  | 
      通常应通过已命名属性来直接检索 Axis 实例(如基于笛卡尔的系列 horizontalAxis、verticalAxis 或 radiusAxis)。  | Series | |
![]()  | 
     返回一个矩形,该矩形定义相对于 targetCoordinateSpace 对象坐标系的显示对象区域。  | DisplayObject | |
![]()  | 
      
      按指定的元素大小,返回元素边界的 x 坐标。  | UIComponent | |
![]()  | 
      
      按指定的元素大小,返回元素边界的 y 坐标。  | UIComponent | |
![]()  | 
     返回位于指定索引处的子显示对象实例。  | DisplayObjectContainer | |
![]()  | 
     返回具有指定名称的子显示对象。  | DisplayObjectContainer | |
![]()  | 
     返回 DisplayObject 的 child 实例的索引位置。  | DisplayObjectContainer | |
![]()  | 
      查找此 UIComponent 实例的类型选择器。  | UIComponent | |
![]()  | 
      返回一个约束布局值,这与获取此组件的约束样式的方式类似。  | UIComponent | |
![]()  | 
      填充由该系列生成 renderData 结构的 elementBounds、bounds 和 visibleBounds 属性。  | Series | |
![]()  | 
      确定是使用显式高度还是测量高度的一种简便方法
     
        | UIComponent | |
![]()  | 
      确定是使用显式宽度还是测量宽度的一种简便方法
     
        | UIComponent | |
![]()  | 
      获取当前具有焦点的对象。  | UIComponent | |
![]()  | 
      获取此系列矩形区域中的所有项目。  | Series | |
![]()  | 
      
      返回元素的布局高度。  | UIComponent | |
![]()  | 
      
      返回元素的布局宽度。  | UIComponent | |
![]()  | 
      
      返回元素在屏幕上进行绘制时所用的 x 坐标。  | UIComponent | |
![]()  | 
      
      返回元素在屏幕上进行绘制时所用的 y 坐标。  | UIComponent | |
![]()  | 
      
      返回用于相对于其同级组件计算组件的布局的转换矩阵。  | UIComponent | |
![]()  | 
      
      返回此元素的布局转换 Matrix3D。  | UIComponent | |
![]()  | 
      
      返回元素的最大高度。  | UIComponent | |
![]()  | 
      
      返回元素的最大宽度。  | UIComponent | |
![]()  | 
      
      返回元素的最小高度。  | UIComponent | |
![]()  | 
      
      返回元素的最小宽度。  | UIComponent | |
![]()  | 
     返回对象的数组,这些对象位于指定点下,并且是该 DisplayObjectContainer 实例的子项(或孙子项,依此类推)。  | DisplayObjectContainer | |
![]()  | 
      
      返回元素的首选高度。  | UIComponent | |
![]()  | 
      
      返回元素的首选宽度。  | UIComponent | |
![]()  | 
    返回一个矩形,该矩形根据 targetCoordinateSpace 参数定义的坐标系定义显示对象的边界,但不包括形状上的任何笔触。  | DisplayObject | |
![]()  | 
      捕捉系列的前后状态以形成动画。  | Series | |
![]()  | 
      返回 dataProvider 中由指定的 Repeater 用来生成此 Repeater 的项目;如果此 Repeater 未重复,则返回 null。  | UIComponent | |
![]()  | 
      获取已在此组件的样式查找链中的某个位置设置过的样式属性。  | UIComponent | |
![]()  | 
      将 Point 对象由全局坐标转换为内容坐标。  | UIComponent | |
![]()  | 
     将 point 对象从舞台(全局)坐标转换为显示对象的(本地)坐标。  | DisplayObject | |
![]()  | 
     将二维点从舞台(全局)坐标转换为三维显示对象的(本地)坐标。  | DisplayObject | |
![]()  | 
      
      如果 currentCSSState 不为 null,则返回 true。  | UIComponent | |
![]()  | 
	检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。  | EventDispatcher | |
![]()  | 
	 表示对象是否已经定义了指定的属性。  | Object | |
![]()  | 
      确定是否已在此 UIComponent 上定义指定的状态。  | UIComponent | |
![]()  | 
     计算显示对象的边框,以确定它是否与 obj 显示对象的边框重叠或相交。  | DisplayObject | |
![]()  | 
     计算显示对象,以确定它是否与 x 和 y 参数指定的点重叠或相交。  | DisplayObject | |
![]()  | 
      返回一个框 Matrix,在绘制水平渐变时可以将其作为 rot 参数传递给 drawRoundRect() 方法。  | UIComponent | |
![]()  | 
      初始化此组件的内部结构。  | UIComponent | |
![]()  | 
      初始化用于跟踪此组件的重复实例的各个属性。  | UIComponent | |
![]()  | 
      此方法由 SeriesInterpolate 效果调用,用于改进 interpolation。  | Series | |
![]()  | 
      标记组件,以便在稍后屏幕更新期间调用该组件的 updateDisplayList() 方法。  | UIComponent | |
![]()  | 
      由某个组件的项目进行调用,以指示其 depth 属性已更改。  | UIComponent | |
![]()  | 
     
          当某元素的 layoutDirection 更改或其父代的 layoutDirection 更改时,该元素必须调用该方法。  | UIComponent | |
![]()  | 
      标记组件,以便在稍后屏幕更新期间调用该组件的 commitProperties() 方法。  | UIComponent | |
![]()  | 
      标记组件,以便在稍后屏幕更新期间调用该组件的 measure() 方法。  | UIComponent | |
![]()  | 
	 表示 Object 类的实例是否在指定为参数的对象的原型链中。  | Object | |
![]()  | 
     将三维显示对象的(本地)坐标的三维点转换为舞台(全局)坐标中的二维点。  | DisplayObject | |
![]()  | 
      将 Point 对象由本地坐标转换为内容坐标。  | UIComponent | |
![]()  | 
      
      将屏幕上的坐标转换成数据值元组。  | ChartElement | |
![]()  | 
     将 point 对象从显示对象的(本地)坐标转换为舞台(全局)坐标。  | DisplayObject | |
![]()  | 
      在一个或多个关联轴的映射发生更改时调用此方法。  | ChartElement | |
![]()  | 
      
      如果 cssState 与 currentCSSState 匹配,则返回 true。  | UIComponent | |
![]()  | 
      
      确定此实例与给定类型相同,还是属于给定类型的子类。  | UIComponent | |
![]()  | 
      测量指定的 HTML 文本(该文本中可能包含 <font> 和 <b> 等 HTML 标签),假定该文本显示在单行 UITextField(使用由此 UIComponent 的样式确定的 UITextFormat)中。  | UIComponent | |
![]()  | 
      测量指定的文本,假定该文本使用由此 UIComponent 的样式确定的 UITextFormat 显示在单行 UITextField(或 UIFTETextField)中。  | UIComponent | |
![]()  | 
       将组件移动到其父项内的指定位置。  | UIComponent | |
![]()  | 
      将样式更改传播到子项。  | UIComponent | |
![]()  | 
      如果 owner 属性链从 child 指向此 UIComponent,则返回 true。  | UIComponent | |
![]()  | 
      当在父项中添加或删除 UIComponent 对象时由 Flex 调用。  | UIComponent | |
![]()  | 
      准备 IFlexDisplayObject 用于打印。  | UIComponent | |
![]()  | 
	 表示指定的属性是否存在、是否可枚举。  | Object | |
![]()  | 
      为此组件及其所有后代生成或重新生成 CSS 样式缓存,前提条件是递归参数为 true。  | UIComponent | |
![]()  | 
      针对每个效果事件,将 EffectManager 注册为一个事件侦听器。  | UIComponent | |
![]()  | 
	 从 DisplayObjectContainer 实例的子列表中删除指定的 child DisplayObject 实例。  | DisplayObjectContainer | |
![]()  | 
	 从 DisplayObjectContainer 的子列表中指定的 index 位置删除子 DisplayObject。  | DisplayObjectContainer | |
![]()  | 
	 从 DisplayObjectContainer 实例的子级列表中删除所有子 DisplayObject 实例。  | DisplayObjectContainer | |
![]()  | 
	从 EventDispatcher 对象中删除侦听器。  | EventDispatcher | |
![]()  | 
      从该组件实例删除非可视样式客户端。  | UIComponent | |
![]()  | 
      
      重放指定的事件。  | UIComponent | |
![]()  | 
     显示虚拟键盘。  | InteractiveObject | |
![]()  | 
      
      使用提供的 ID 解析子项。  | UIComponent | |
![]()  | [静态] 
      在调用 suspendBackgroundProcessing() 之后继续对使用 callLater() 排队的方法进行背景处理。  | UIComponent | |
![]()  | [覆盖] 
      
	  设置此对象的实际大小。  | Series | |
![]()  | 
      为图表的特定维度分配 Axis 实例。  | Series | |
![]()  | 
	更改现有子项在显示对象容器中的位置。  | DisplayObjectContainer | |
![]()  | 
      设置一个布局约束值的方式,与设置此组件的约束样式的方式相同。  | UIComponent | |
![]()  | 
      设置当前状态。  | UIComponent | |
![]()  | 
      设置此组件的焦点。  | UIComponent | |
![]()  | 
      
      设置元素在屏幕上进行绘制时所用的坐标。  | UIComponent | |
![]()  | 
      
      设置元素的布局大小。  | UIComponent | |
![]()  | 
      
      设置用于相对于其同级组件计算组件的布局大小和位置的转换 Matrix。  | UIComponent | |
![]()  | 
      
      设置用于计算组件相对于其同级组件的布局大小和位置的转换 Matrix3D。  | UIComponent | |
![]()  | 
     设置循环操作动态属性的可用性。  | Object | |
![]()  | 
      对此组件实例设置样式属性。  | UIComponent | |
![]()  | 
      当 visible 属性发生更改时调用。  | UIComponent | |
![]()  | 
	 允许用户拖动指定的 Sprite。  | Sprite | |
![]()  | 
	 使用户可以在启用触摸的设备上拖动指定的 Sprite。  | Sprite | |
![]()  | 
     对源起于此对象的所有 MovieClip 递归停止时间轴执行。  | DisplayObjectContainer | |
![]()  | 
	 结束 startDrag() 方法。  | Sprite | |
![]()  | 
	 结束 startTouchDrag() 方法,用于启用触摸的设备。  | Sprite | |
![]()  | 
      检测对样式属性的更改。  | UIComponent | |
![]()  | [覆盖] 
      调用 legendDataChanged() 方法。  | Series | |
![]()  | [静态] 
      阻止对使用 callLater() 排队的方法进行背景处理,直到调用 resumeBackgroundProcessing() 为止。  | UIComponent | |
![]()  | 
	 交换两个指定子对象的 Z 轴顺序(从前到后顺序)。  | DisplayObjectContainer | |
![]()  | 
	 在子级列表中两个指定的索引位置,交换子对象的 Z 轴顺序(前后顺序)。  | DisplayObjectContainer | |
![]()  | 
	 返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。  | Object | |
![]()  | [覆盖] 
	  返回一个字符串,用于指示此对象在应用程序的 DisplayObject 层次结构中所处的位置。  | FlexSprite | |
![]()  | transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void 
      用于更新转换的旋转、缩放和平移的一种实用程序方法,同时保留某个特定点,该点是在组件自己的坐标空间中指定的,且在父项的坐标空间中是固定的。  | UIComponent | |
![]()  | 
      一种实用程序方法,用于将以该对象的本地坐标指定的点转换为在该对象父坐标中的相应位置。  | UIComponent | |
![]()  | 
      
      验证子项的位置和大小,并绘制其他可视内容。  | UIComponent | |
![]()  | 
      验证并更新此对象的属性和布局,如果需要的话重绘对象。  | UIComponent | |
![]()  | 
      由布局逻辑用于通过调用 commitProperties() 方法来验证组件的属性。  | UIComponent | |
![]()  | 
      
      如果使用此 ILayoutManagerClient 调用 LayoutManager.invalidateSize() 方法,随后在测量时调用了 validateSize() 方法,则验证组件的度量大小。  | UIComponent | |
![]()  | 
      处理分配给此组件的验证程序调度的 valid 和 invalid 事件。  | UIComponent | |
![]()  | 
	 返回指定对象的原始值。  | Object | |
![]()  | 
      返回一个框 Matrix,在绘制垂直渐变时可以将其作为 rot 参数传递给 drawRoundRect()。  | UIComponent | |
![]()  | 
	检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。  | EventDispatcher | |
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
![]()  | 
      调整焦点矩形。  | UIComponent | |
![]()  | 
      提交计算的矩阵,该矩阵是基于布局矩阵以及 flash displayObject 的转换的转换偏移量而构建的。  | UIComponent | |
      自定义用于表示图表的项呈示器实例。  | LineSeries | ||
![]()  | 
      这是一个内部方法,供 Flex 框架用于支持 Dissolve 效果。  | UIComponent | |
![]()  | 
      根据图表项目 fieldName 属性的原始 dataProvider 项目缓存 measureName 属性中存储的值。  | Series | |
![]()  | 
      根据图表项目 fieldName 属性的原始 dataProvider 项目缓存 measureName 属性中存储的值。  | Series | |
![]()  | 
      根据图表项目 fieldName 属性的原始 dataProvider 项目缓存 measureName 属性中存储的值。  | Series | |
![]()  | 
      确定是否可以跳过对 measure() 方法的调用。  | UIComponent | |
![]()  | 
      创建子对象后执行任何最终处理。  | UIComponent | |
[覆盖] 
        | LineSeries | ||
![]()  | 
      创建组件的子对象。  | UIComponent | |
![]()  | 
      创建一个唯一 ID,以代表进行比较的 dataPoint。  | ChartElement | |
![]()  | 
      根据所用的嵌入字体使用上下文创建新对象。  | UIComponent | |
![]()  | 
      使用给定的 moduleFactory 创建对象。  | UIComponent | |
![]()  | 
      表明由该元素表示的基础数据已经发生更改。  | ChartElement | |
![]()  | 
      如果您没有将自定义函数设置为这些系列的 filterFunction,则会使用此方法。  | Series | |
![]()  |  
      更新属性时调度 PropertyChangeEvent 的 Helper 方法。  | UIComponent | |
![]()  | 
      dragStart 事件的默认处理函数。  | Series | |
![]()  | 
      提取最小值和最大值,还可以提取与 ChartItem 对象 Array 的最小间隔。  | Series | |
![]()  | extractMinMax(cache:Array, measureName:String, desc:DataDescription, calculateInterval:Boolean = false):void 
      提取最小值和最大值,还可以提取与 ChartItem 对象 Array 的最小间隔。  | Series | |
![]()  | 
      当 UIComponent 对象获得焦点时调用的事件处理函数。  | UIComponent | |
![]()  | 
      当 UIComponent 对象失去焦点时调用的事件处理函数。  | UIComponent | |
![]()  | getMissingInterpolationValues(sourceProps:Object, srcCache:Array, destProps:Object, destCache:Array, index:Number, customData:Object):void 
      在 interpolation 结构中填充缺失值。  | Series | |
![]()  | 
      对于组件的某些不常使用的高级布局功能,初始化其实现和存储。  | UIComponent | |
![]()  | 
      完成对此组件的初始化。  | UIComponent | |
![]()  | 
      初始化此组件的辅助功能代码。  | UIComponent | |
![]()  | initializeInterpolationData(srcCache:Array, dstCache:Array, iProps:Object, cacheType:Class = null, customData:Object = null):Object 
      实现 interpolation 效果的 Helper 方法。  | Series | |
![]()  | 
      通知系列数据提供程序中的基础数据已更改。  | Series | |
![]()  | 
      通知系列针对轴进行的数据筛选已发生更改,必须重新计算。  | Series | |
![]()  | 
      通知系列从数据到数值的映射已发生更改,并且必须重新计算。  | Series | |
![]()  | 
      此对象影响其布局时(includeInLayout 为 true),使父代大小和显示列表失效的 Helper 方法。  | UIComponent | |
![]()  | 
      通知系列从数据到屏幕坐标的转换已经发生更改,必须重新计算。  | Series | |
![]()  | 
      通知系列数据显示已发生显著变化。  | Series | |
![]()  | 
      通常由包含 UITextField 对象的组件覆盖,其中 UITextField 对象获取焦点。  | UIComponent | |
![]()  | 
      为 keyDown 事件调用的事件处理函数。  | UIComponent | |
![]()  | 
      为 keyUp 事件调用的事件处理函数。  | UIComponent | |
![]()  | 
      通过调度新的 LegendDataChanged 事件在系列的显示名称发生更改时更新图例项目。  | Series | |
![]()  | 
      计算组件的默认大小和(可选)默认最小大小。  | UIComponent | |
![]()  |  
      为元素分配新 dataProvider 时调用此方法。  | ChartElement | |
![]()  | 
      构建 UIComponent 时将调用此方法,并且每当 ResourceManager 调度“change”事件用于指示本地化资源已经过某种更改时,都会再次调用此方法。  | UIComponent | |
![]()  | 
      在水平方向和垂直方向上,指定转换拉伸因子。  | UIComponent | |
![]()  | 
      当状态改变以检查状态特定的样式是否应用到此组件时,会调用此方法。  | UIComponent | |
![]()  | 
      从提供的缓存中删除字段属性为 NaN 的所有项目。  | Series | |
![]()  | 
      当系列表示的基础数据发生更改,并且需要重新从数据提供程序加载时调用此方法。  | Series | |
![]()  | [覆盖] 
      
      绘制对象和/或设置其子项的大小和位置。  | Series | |
![]()  | 
      当系列表示的基础数据需要根据由相关的数据转换轴表示的范围进行过滤时,调用此方法。  | Series | |
![]()  | 
      当需要将此系列表示的基础数据映射到数字表示形式时调用此方法。  | Series | |
![]()  | 
      当需要按关联数据转换的轴将由系列表示的基础数据转换为屏幕值时,调用此方法。  | Series | |
![]()  | 
      如有必要,调用系列的 updateData() 和 updateMapping() 方法。  | Series | |
![]()  | 
      如有必要,调用系列的 updateFilter() 和 updateTransform() 方法。  | Series | |
样式为常见样式,或与特定主题关联。如果为常见样式,则可以用于任何主题。如果样式与特定主题关联,则只有应用程序使用该主题时才能使用该样式。
| 样式 | 说明 | 由以下参数定义 | ||
|---|---|---|---|---|
adjustedRadius  | 类型: Number 格式: Length CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定在突显或选择图表项目时其半径要增加的像素数目。 默认值为  2。 | LineSeries | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从内容区域的上边缘到控件的基线位置的垂直距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件底边到其父容器的内容区域底边之间的垂直距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: uint 格式: Color CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 验证失败时,组件加亮部分的颜色.  | UIComponent | ||
fill  | 类型: mx.graphics.IFill CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 设置此数据系列的填充。您可以指定实现 IFill 接口的对象,也可以指定代表纯颜色值的数字。您还可以使用 CSS 指定实心填充。  | LineSeries | ||
fills  | 类型: Array CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定用于定义系列中每个项目填充内容的填充对象数组。它优先于 fill 样式属性。如果自定义方法是由 fillFunction 属性指定的,则它优先于此 Array。如果为每个项目提供的 Array 元素不足,则 Flex 将从 Array 的开始部分重复填充。
  
  使用 CSS 设置此属性的值: 
    LineSeries {
      fills:#CC66FF, #9966CC, #9999CC;
    }
   
                        
  
                        使用 MXML 设置此属性的值: 
    <mx:LineSeries ... >
     <mx:fills>
      <mx:SolidColor color="0xCC66FF"/>
      <mx:SolidColor color="0x9966CC"/>
      <mx:SolidColor color="0x9999CC"/>
     </mx:fills>
    </mx:LineSeries>
   
                        
  
                        
  如果您指定了   | LineSeries | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 焦点矩形使用的混合模式.  | UIComponent | ||
![]()  | 类型: Class CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 用于绘制焦点矩形的外观.  | UIComponent | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 焦点矩形轮廓的粗细(以像素为单位).  | UIComponent | ||
form  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定图表的线条类型。可能的值包括: 
 "segment"。
  
   | LineSeries | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件内容区域的中心到组件中心的水平距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 4.5 运行时版本: Flash10, AIR 2.5 该组件的主要交互模式.  | UIComponent | ||
itemRenderer  | 类型: mx.core.IFactory CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 表示系列将用来表示图表上单个项目的类工厂。针对图表中的每个元素实例化此类一次。用作 itemRenderer 的类将实现 IFlexDisplayObject、ISimpleStyleClient 和 IDataRenderer 接口。为 data 属性分配外观实例呈示的 chartItem。
  
   | LineSeries | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 4.1 运行时版本: Flash10, AIR 1.5 指定组件的所需布局方向.  | UIComponent | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件左边到其父容器的内容区域左边之间的水平距离(以像素为单位).  | UIComponent | ||
legendMarkerRenderer  | 类型: mx.core.IFactory CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 系列用来在任何关联图例中呈示该系列标记的类。如果此样式为 null,则大多数系列将默认改为使用其 itemRenderer 作为图例标记外观。用作图例标记的类应实现 IFlexDisplayObject 接口、ISimpleStyleClient 和 IDataRenderer 接口(可选)。如果用作图例标记的类实现 IDataRenderer 接口,则为该 data 属性分配 LegendData 实例。
  
   | LineSeries | ||
lineSegmentRenderer  | 类型: mx.core.IFactory CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 表示系列用于表示系列中各线段的类的类工厂。此类针对系列的每个不同线段都进行一次实例化。用作 lineSegmentRenderer 的类应实现 IFlexDisplayObject、ISimpleStyleClient 和 IDataRenderer 接口。为 data 属性分配描述要呈示的线段的 mx.charts.series.items.LineSeriesSegment 实例。
  
   | LineSeries | ||
lineStroke  | 类型: mx.graphics.IStroke CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 设置实际线段的笔触。LineChart 控件的默认值为橙色 ( 0xE48701)。在 CartesianChart 控件中使用的 LineSeries 的默认颜色为黑色 (0x000000)。宽度的默认值为 3。
   
    | LineSeries | ||
radius  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定数据点的图表元素的半径(以像素为单位)。仅当使用 itemRenderer 属性指定项呈示器时,才会应用此属性。您可以通过 MXML 或使用样式来指定 itemRenderer。  
  
   默认值为 4。 | LineSeries | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件右边到其父容器的内容区域右边之间的水平距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: Boolean CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 4.5 运行时版本: Flash10, AIR 1.5 当此组件无效时,显示错误边框或外观  | UIComponent | ||
![]()  | 类型: Boolean CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 4.5 运行时版本: Flash10, AIR 1.5 如果此组件无效,当用户将鼠标移到它上方时,将显示错误提示  | UIComponent | ||
stroke  | 类型: mx.graphics.IStroke CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 设置此数据系列的笔触样式。必须指定某个 Stroke 对象来定义笔触。  | LineSeries | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件顶边到其父容器的内容区域顶边之间的垂直距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件内容区域的中心到组件中心的垂直距离(以像素为单位).  | UIComponent | ||
fillFunction | 属性 | 
fillFunction:Function| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
     指定返回系列中当前图表项目的填充的方法。如果已设置此属性,则自定义填充函数返回的值将优先于 fill 和 fills 样式属性。但是,如果返回 null,则在该顺序中将优先选择 fills 和 fill。  
     
     
自定义 fillFunction 包含以下签名:
      
     
     function_name (item:ChartItem, index:Number):IFill { ... }
     
     
     item 表示对要呈示的图表项目的引用。index 表示 renderData 的缓存中的图表项目的索引。这与图表的数据提供程序的索引不同,因为后者是基于 x、y 和 z 值进行排序的。此函数将返回实现 IFill 接口的对象。
     
      
     自定义的 fillFunction 的使用示例是基于某些阈值返回填充。
实现
    public function get fillFunction():Function    public function set fillFunction(value:Function):void示例
如何使用本示例
     public function myFillFunction(item:ChartItem, index:Number):IFill {
          var curItem:LineSeriesItem = LineSeriesItem(item);
          if (curItem.yNumber > 10)
              return(new SolidColor(0x123456, .75));
          else
              return(new SolidColor(0x563412, .75));
     }
     
       
     如果您为图表系列指定了自定义填充函数,并希望包含 Legend 控件,则必须手动创建 Legend 控件,然后向其中添加 LegendItems。
horizontalAxis | 属性 | 
horizontalAxis:IAxis| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
为 x 轴上的项定义标签、刻度线和数据位置。使用 LinearAxis 类或 CategoryAxis 类可以设置 horizontalAxis 的属性,将其作为 MXML 中的子标签,或者在 ActionScript 中创建一个 LinearAxis 或 CategoryAxis 对象。
实现
    public function get horizontalAxis():IAxis    public function set horizontalAxis(value:IAxis):voidinterpolateValues | 属性 | 
items | 属性 | 
itemType | 属性 | 
lineSegmentType | 属性 | 
moduleFactory | 属性 | 
moduleFactory:IFlexModuleFactory[覆盖] | 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
实现
    override public function get moduleFactory():IFlexModuleFactory    override public function set moduleFactory(value:IFlexModuleFactory):voidradius | 属性 | 
renderDataType | 属性 | 
sortOnXField | 属性 | 
verticalAxis | 属性 | 
verticalAxis:IAxis| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
为 y 轴上的项目定义标签、刻度线和数据位置。使用 LinearAxis 类或 CategoryAxis 类可将 verticalAxis 的属性设置为 MXML 中的子标签,也可以在 ActionScript 中创建 LinearAxis 或 CategoryAxis 对象。
实现
    public function get verticalAxis():IAxis    public function set verticalAxis(value:IAxis):voidxField | 属性 | 
yField | 属性 | 
LineSeries | () | 构造函数 | 
public function LineSeries()| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
构造函数。
applyItemRendererProperties | () | 方法 | 
 protected function applyItemRendererProperties(instance:DisplayObject, cache:InstanceCache):void| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
自定义用于表示图表的项呈示器实例。如果在呈示图表时需要新的项呈示器,则会自动调用此方法。您可以覆盖此方法以根据需要添加自己的自定义方法。
参数
instance:DisplayObject — 正在创建的新项呈示器实例。
       | |
cache:InstanceCache — 用于管理项呈示器实例的 InstanceCache。
      
       | 
commitProperties | () | 方法 | 
override protected function commitProperties():void| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
<?xml version="1.0"?>
<!-- Simple example to demonstrate the LineChart and AreaChart controls. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark" 
    xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
        <![CDATA[
        import mx.collections.ArrayCollection;
        [Bindable]
        private var expensesAC:ArrayCollection = new ArrayCollection( [
            { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
            { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
            { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
            { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
            { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
        ]]>
    </fx:Script>
    <fx:Declarations>
        <!-- Define custom colors for use as fills in the AreaChart control. -->
        <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
        <mx:SolidColor id="sc2" color="red" alpha=".3"/>
        <mx:SolidColor id="sc3" color="green" alpha=".3"/>
        <!-- Define custom Strokes. -->
        <mx:SolidColorStroke id = "s1" color="blue" weight="2"/>
        <mx:SolidColorStroke id = "s2" color="red" weight="2"/>
        <mx:SolidColorStroke id = "s3" color="green" weight="2"/>
    </fx:Declarations>
    <mx:Panel title="LineChart and AreaChart Controls Example" 
        height="100%" width="100%" layout="horizontal">
        <mx:LineChart id="linechart" height="100%" width="45%"
            paddingLeft="5" paddingRight="5" 
            showDataTips="true" dataProvider="{expensesAC}">
                
            <mx:horizontalAxis>
                <mx:CategoryAxis categoryField="Month"/>
            </mx:horizontalAxis>
            <mx:series>
                <mx:LineSeries yField="Profit" form="curve" displayName="Profit" lineStroke="{s1}"/>
                <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses" lineStroke="{s2}"/>
                <mx:LineSeries yField="Amount" form="curve" displayName="Amount" lineStroke="{s3}"/>
            </mx:series>
        </mx:LineChart>
        <mx:Legend dataProvider="{linechart}"/>
        <mx:AreaChart id="Areachart" height="100%" width="45%"
             paddingLeft="5" paddingRight="5" 
             showDataTips="true" dataProvider="{expensesAC}">
                 
            <mx:horizontalAxis>
                <mx:CategoryAxis categoryField="Month"/>
            </mx:horizontalAxis>
            <mx:series>
                <mx:AreaSeries yField="Profit" form="curve" displayName="Profit" areaStroke="{s1}" areaFill="{sc1}"/>
                <mx:AreaSeries yField="Expenses" form="curve" displayName="Expenses" areaStroke="{s2}" areaFill="{sc2}"/>
                <mx:AreaSeries yField="Amount" form="curve" displayName="Amount" areaStroke="{s3}" areaFill="{sc3}"/>
            </mx:series>
        </mx:AreaChart>
            
        <mx:Legend dataProvider="{Areachart}"/>
    </mx:Panel>
</s:Application>
Tue Jun 12 2018, 11:04 AM Z
 
显示 MXML 语法