| 包 | mx.charts | 
| 类 | public class ColumnChart | 
| 继承 | ColumnChart    CartesianChart   ChartBase   UIComponent   FlexSprite   Sprite   DisplayObjectContainer   InteractiveObject   DisplayObject   EventDispatcher   Object | 
| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
ColumnChart 控件要求其 series 属性包含 ColumnSeries 对象数组。
堆栈和 100% 列图表会覆盖其 ColumnSeries 对象的 minField 属性。
隐藏 MXML 语法The <mx:ColumnChart> tag inherits all the properties
  of its parent classes and adds the following properties:
  <mx:ColumnChart
    Properties
    extendLabelToEnd="false|true"
    maxLabelWidth="50"
    showLabelVertically="false|true"
    type="clustered|overlaid|stacked|100%"
 
    Styles
    columnWidthRatio=".65"
    maxColumnWidth="No default"
  />
  
  
  默认 MXML 属性dataProvider
相关 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 | |
![]()  | annotationElements : Array 
      设置显示在图表呈示的任何数据系列上方的 ChartElement 对象数组。  | ChartBase | |
![]()  | 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 | |
![]()  | backgroundElements : Array 
      设置显示在图表呈示的任何数据系列下方的背景 ChartElement 对象数组。  | ChartBase | |
![]()  | 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 | |
![]()  | chartState : uint [只读] 
      图表的当前过渡状态。  | ChartBase | |
![]()  | className : String [只读] 
      此实例的类的名称,如“Button”。  | UIComponent | |
![]()  | clipContent : Boolean 
      确定 Flex 是否将图表剪辑到由轴限定的区域中。  | ChartBase | |
![]()  | computedGutters : Rectangle [只读] 
      当前计算出的 CartesianChart 装订线大小。  | CartesianChart | |
![]()  | constructor : Object 
	 对类对象或给定对象实例的构造函数的引用。  | Object | |
![]()  | contentMouseX : Number [只读] 
      返回鼠标在内容坐标系中的 x 位置。  | UIComponent | |
![]()  | contentMouseY : Number [只读] 
      返回内容坐标系中鼠标的 y 位置。  | UIComponent | |
![]()  | contextMenu : NativeMenu  
	 指定与此对象相关联的上下文菜单。  | InteractiveObject | |
![]()  | currentState : String 
      组件的当前视图状态。  | UIComponent | |
![]()  | cursorManager : ICursorManager [只读] 
      获取控制此组件及其同级组件的光标的 CursorManager。  | UIComponent | |
![]()  | dataProvider : Object 
      指定图表的数据提供程序。  | ChartBase | |
![]()  | dataTipFunction : Function 
      指定用于根据值生成数据提示的回调方法。  | ChartBase | |
![]()  | dataTipMode : String 
      指定 Flex 如何显示图表的 DataTip 控件。  | ChartBase | |
![]()  | depth : Number 
      
      确定容器内各项目的呈示顺序。  | UIComponent | |
![]()  | description : String 
      对图表中数据的简短说明。  | ChartBase | |
![]()  | descriptor : UIComponentDescriptor 
      引用 UIComponentDescriptor(如果有),过去曾通过 createComponentFromDescriptor() 方法使用它来创建此 UIComponent 实例。  | UIComponent | |
![]()  | designLayer : DesignLayer 
      指定与该可视元素关联的可选 DesignLayer 实例。  | UIComponent | |
![]()  | document : Object 
      引用与此 UIComponent 相关联的文档对象。  | UIComponent | |
![]()  | doubleClickEnabled : Boolean [覆盖] 
      指定 UIComponent 对象是否接收 doubleClick 事件。  | UIComponent | |
![]()  | dragEnabled : Boolean 
      指定是否可以将项目拖出此图表并将其拖放到其他控件上。  | ChartBase | |
![]()  | dragMoveEnabled : Boolean 
      指示要显示为拖动反馈的显示光标。  | ChartBase | |
![]()  | dropEnabled : Boolean 
      用于指定是否可将拖动项目拖放到图表上的标志。  | ChartBase | |
![]()  | 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 | |
| extendLabelToEnd : Boolean 
     确定数据标签是否可以扩展到图表的末端。  | ColumnChart | ||
![]()  | 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 轴上的项定义标签、刻度线和数据位置。  | CartesianChart | |
![]()  | horizontalAxisRatio : Number = 0.33 
      确定水平轴的高度限制。  | CartesianChart | |
![]()  | horizontalAxisRenderers : Array 
      指定数据如何沿图表的 x 轴显示。  | CartesianChart | |
![]()  | horizontalCenter : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | id : String 
      组件 ID。  | UIComponent | |
![]()  | includeInLayout : Boolean 
      指定此组件是否包含在父容器的布局中。  | UIComponent | |
![]()  | inheritingStyles : Object 
      此组件的继承样式链的开头内容。  | UIComponent | |
![]()  | initialized : Boolean 
      一个标志,用于确定某个对象是否已通过布局的所有三个阶段:提交、测量和布局(假设每个阶段都是必需的)。  | UIComponent | |
![]()  | instanceIndex : int [只读] 
      重复组件的索引。  | UIComponent | |
![]()  | instanceIndices : Array 
      一个 Array,包含从此 UIComponent 对象的父文档引用该对象所需的索引。  | UIComponent | |
![]()  | is3D : Boolean [只读] 
      
      当元素为 3D 时,则为 true。  | UIComponent | |
![]()  | isDocument : Boolean [只读] 
      如果此 UIComponent 实例为文档对象,则为 true。  | UIComponent | |
![]()  | isPopUp : Boolean 
      PopUpManager 将其设置为 true 以指示已弹出该组件。  | UIComponent | |
![]()  | layoutMatrix3D : Matrix3D [只写] 
      用于相对于其同级组件计算组件的布局的转换矩阵。  | UIComponent | |
![]()  | left : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | legendData : Array [只读] 
      图例项数组。  | ChartBase | |
![]()  | loaderInfo : LoaderInfo [只读] 
     返回一个 LoaderInfo 对象,其中包含加载此显示对象所属的文件的相关信息。  | DisplayObject | |
![]()  | maintainProjectionCenter : Boolean 
      如果为 true,则该组件将使其投影矩阵在其边框的中央保持居中。  | UIComponent | |
![]()  | mask : DisplayObject 
     调用显示对象被指定的 mask 对象遮罩。  | DisplayObject | |
![]()  | maxHeight : Number 
      布局过程中父级要考虑的组件最大建议高度。  | UIComponent | |
| maxLabelWidth : int 
     确定项目标签的最大宽度,以像素为单位。  | ColumnChart | ||
![]()  | 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 [覆盖] 
       模块工厂用作上下文,用于为此组件使用嵌入字体以及查找用于控制此组件样式的样式管理器。  | ColumnChart | ||
![]()  | mouseChildren : Boolean 
	 确定对象的子级是否支持鼠标或用户输入设备。  | DisplayObjectContainer | |
![]()  | mouseEnabled : Boolean  
	 指定此对象是否接收鼠标或其他用户输入、消息。  | InteractiveObject | |
![]()  | mouseFocusEnabled : Boolean 
      单击时是否可获得焦点。  | UIComponent | |
![]()  | mouseSensitivity : Number = 5 
      指定鼠标指针在图表附近移动时,Flex 认为与其相距多远(以像素为单位)的数据点算是位于指针下。  | ChartBase | |
![]()  | 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 | |
![]()  | 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 | |
![]()  | selectedChartItem : ChartItem [只读] 
      指定图表中的所选 ChartItem。  | ChartBase | |
![]()  | selectedChartItems : Array [覆盖] [只读] 
      图表中所选 ChartItem 对象的 Array。  | CartesianChart | |
![]()  | selectionMode : String 
      指定是否可以选择 ChartItem 对象。  | ChartBase | |
![]()  | series : Array 
      定义图表数据的 Series 对象数组。  | ChartBase | |
![]()  | seriesFilters : Array 
      应用于图表中的所有系列的滤镜数组。  | ChartBase | |
![]()  | showAllDataTips : Boolean 
      指定 Flex 是否显示图表的所有 DataTip 控件。  | ChartBase | |
![]()  | showDataTips : Boolean 
      指定 Flex 是否显示图表的 DataTip 控件。  | ChartBase | |
![]()  | showInAutomationHierarchy : Boolean 
       
      用于确定自动化对象是否显示在自动化层次中的标志。  | UIComponent | |
| showLabelVertically : Boolean 
     确定是否可以垂直显示数据标签。  | ColumnChart | ||
![]()  |     softKeyboard : String 
    控制软键盘的外观。  | InteractiveObject | |
![]()  | softKeyboardInputAreaOfInterest : Rectangle  
     定义当显示软键盘时应在屏幕上保留的区域(在 iOS 上不支持)。  | InteractiveObject | |
![]()  | 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 | |
![]()  | transitions : Array 
      一个 Transition 对象 Array,其中的每个 Transition 对象都定义一组效果,用于在视图状态发生更改时播放。  | UIComponent | |
![]()  | tweeningProperties : Array 
      当前在此对象上进行补间的属性数组。  | UIComponent | |
| type : String 
      列图表的类型。  | ColumnChart | ||
![]()  | uid : String 
      对象的唯一标识符。  | UIComponent | |
![]()  | updateCompletePendingFlag : Boolean 
      一个标志,确定某个对象是否已通过所有三个阶段的布局验证(假设需要通过所有验证)。  | UIComponent | |
![]()  | useHandCursor : Boolean 
	 布尔值,表示当指针滑过 buttonMode 属性设置为 true 的 sprite 时是否显示指针手形(手形光标)。  | Sprite | |
![]()  | validationSubField : String 
      供验证程序用来将子字段与此组件相关联。  | UIComponent | |
![]()  | verticalAxis : IAxis 
      为 y 轴上的项目定义标签、刻度线和数据位置。  | CartesianChart | |
![]()  | verticalAxisRatio : Number = 0.33 
      确定垂直轴的宽度限制。  | CartesianChart | |
![]()  | verticalAxisRenderers : Array 
      指定数据如何沿图表的 y 轴显示。  | CartesianChart | |
![]()  | verticalCenter : Object 
      对于组件,此布局约束属性是基于类似命名的样式的外观。  | UIComponent | |
![]()  | visible : Boolean [覆盖] 
      显示对象是否可见。  | UIComponent | |
![]()  | width : Number [覆盖] 
      指定组件在父坐标中的宽度的数字(以像素为单位)。  | UIComponent | |
![]()  | x : Number [覆盖] 
      指定组件在其父容器中的水平位置(以像素为单位)的数字。  | UIComponent | |
![]()  | y : Number [覆盖] 
      指定组件在其父容器中的垂直位置(以像素为单位)的数字。  | UIComponent | |
![]()  | z : Number [覆盖] 
      
     表示 DisplayObject 实例相对于 3D 父容器沿 z 轴的 z 坐标位置。  | UIComponent | |
受保护的属性
公共方法 
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
      构造函数。  | ColumnChart | ||
![]()  | 
     将一个 DisplayObject 子实例添加到该 DisplayObjectContainer 实例中。  | DisplayObjectContainer | |
![]()  | 
	 将一个 DisplayObject 子实例添加到该 DisplayObjectContainer 实例中。  | DisplayObjectContainer | |
![]()  | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void 
	使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。  | EventDispatcher | |
![]()  | 
      将非可视样式客户端添加到该组件实例。  | UIComponent | |
![]()  | 
	 表示安全限制是否会导致出现以下情况:在列表中忽略了使用指定 point 点调用 DisplayObjectContainer.getObjectsUnderPoint() 方法时返回的所有显示对象。  | DisplayObjectContainer | |
![]()  | 
      排队稍后调用的函数。  | UIComponent | |
![]()  | 
      取消对图表控件中的所有所选图表项的选择。  | ChartBase | |
![]()  | 
      删除此组件实例的样式属性。  | UIComponent | |
![]()  | 
	 确定指定显示对象是 DisplayObjectContainer 实例的子项还是该实例本身。  | DisplayObjectContainer | |
![]()  | 
      将 Point 对象由内容坐标转换为全局坐标。  | UIComponent | |
![]()  | 
      将 Point 对象由内容坐标转换为本地坐标。  | UIComponent | |
![]()  | 
      
      返回标识此容器中的子项的一组属性。  | UIComponent | |
![]()  | 
      
	  返回标识此容器中的子项的一组属性。  | UIComponent | |
![]()  | 
      
      在 IUIComponent 对象的父项文档对象上创建对此对象的 id 引用。  | UIComponent | |
![]()  | 
      
      在 IUIComponent 对象的父项文档对象上删除对此对象的 id 引用。  | UIComponent | |
![]()  | 
      返回与此 UIComponent 的文本样式对应的 UITextFormat 对象。  | UIComponent | |
![]()  | [覆盖] 
      将事件调度到事件流中。  | UIComponent | |
![]()  | 
      dragStart 事件的默认处理函数。  | ChartBase | |
![]()  | 
      在此组件周围显示或隐藏焦点指示符。  | 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 | |
![]()  | 
      执行 UIComponent 对象是目标的所有绑定。  | UIComponent | |
![]()  | 
      返回一个 HitData 对象数组,描述距离传递给方法的坐标最近的数据点。  | ChartBase | |
![]()  | 
      打印完成后调用。  | UIComponent | |
![]()  | 
      返回一个 HitData 对象数组,表示实现 IChartElement2 接口的基础对象中的图表项目。  | ChartBase | |
![]()  | 
       
      在指定的索引位置提供自动化对象。  | UIComponent | |
![]()  | 
       
	  提供自动化对象列表。  | UIComponent | |
![]()  | 
     返回一个矩形,该矩形定义相对于 targetCoordinateSpace 对象坐标系的显示对象区域。  | DisplayObject | |
![]()  | 
      
      按指定的元素大小,返回元素边界的 x 坐标。  | UIComponent | |
![]()  | 
      
      按指定的元素大小,返回元素边界的 y 坐标。  | UIComponent | |
![]()  | 
     返回位于指定索引处的子显示对象实例。  | DisplayObjectContainer | |
![]()  | 
     返回具有指定名称的子显示对象。  | DisplayObjectContainer | |
![]()  | 
     返回 DisplayObject 的 child 实例的索引位置。  | DisplayObjectContainer | |
![]()  | 
      查找此 UIComponent 实例的类型选择器。  | UIComponent | |
![]()  | 
      返回一个约束布局值,这与获取此组件的约束样式的方式类似。  | UIComponent | |
![]()  | 
      确定是使用显式高度还是测量高度的一种简便方法
     
        | UIComponent | |
![]()  | 
      确定是使用显式宽度还是测量宽度的一种简便方法
     
        | UIComponent | |
![]()  | [覆盖] 
      
      获取图表中的第一个(相对于轴)项目。  | CartesianChart | |
![]()  | 
      获取当前具有焦点的对象。  | UIComponent | |
![]()  | 
      获取定义的矩形区域内的所有图表项目。  | ChartBase | |
![]()  | [覆盖] 
      
      获取此图表中的最后一个(相对于轴)项目。  | CartesianChart | |
![]()  | 
      
      返回元素的布局高度。  | UIComponent | |
![]()  | 
      
      返回元素的布局宽度。  | UIComponent | |
![]()  | 
      
      返回元素在屏幕上进行绘制时所用的 x 坐标。  | UIComponent | |
![]()  | 
      
      返回元素在屏幕上进行绘制时所用的 y 坐标。  | UIComponent | |
![]()  | 
      
      返回用于相对于其同级组件计算组件的布局的转换矩阵。  | UIComponent | |
![]()  | 
      
      返回此元素的布局转换 Matrix3D。  | UIComponent | |
![]()  | 
      
      返回元素的最大高度。  | UIComponent | |
![]()  | 
      
      返回元素的最大宽度。  | UIComponent | |
![]()  | 
      
      返回元素的最小高度。  | UIComponent | |
![]()  | 
      
      返回元素的最小宽度。  | UIComponent | |
![]()  | [覆盖] 
      
      获取图表中当前焦点项目旁边(相对于轴)的图表项目。  | CartesianChart | |
![]()  | 
     返回对象的数组,这些对象位于指定点下,并且是该 DisplayObjectContainer 实例的子项(或孙子项,依此类推)。  | DisplayObjectContainer | |
![]()  | 
      
      返回元素的首选高度。  | UIComponent | |
![]()  | 
      
      返回元素的首选宽度。  | UIComponent | |
![]()  | [覆盖] 
      
      获取图表中当前焦点项之前(相对于轴)的图表项目。  | CartesianChart | |
![]()  | 
    返回一个矩形,该矩形根据 targetCoordinateSpace 参数定义的坐标系定义显示对象的边界,但不包括形状上的任何笔触。  | DisplayObject | |
![]()  | 
      返回 dataProvider 中由指定的 Repeater 用来生成此 Repeater 的项目;如果此 Repeater 未重复,则返回 null。  | UIComponent | |
![]()  | 
      获取已在此组件的样式查找链中的某个位置设置过的样式属性。  | UIComponent | |
![]()  | 
      将 Point 对象由全局坐标转换为内容坐标。  | UIComponent | |
![]()  | 
     将 point 对象从舞台(全局)坐标转换为显示对象的(本地)坐标。  | DisplayObject | |
![]()  | 
     将二维点从舞台(全局)坐标转换为三维显示对象的(本地)坐标。  | DisplayObject | |
![]()  | 
      
      如果 currentCSSState 不为 null,则返回 true。  | UIComponent | |
![]()  | 
	检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。  | EventDispatcher | |
![]()  | 
	 表示对象是否已经定义了指定的属性。  | Object | |
![]()  | 
      确定是否已在此 UIComponent 上定义指定的状态。  | UIComponent | |
![]()  | 
      通知图表在图表中显示的基础数据已更改。  | ChartBase | |
![]()  | 
      隐藏用于指示允许拖放操作的拖放指示符。  | ChartBase | |
![]()  | 
     计算显示对象的边框,以确定它是否与 obj 显示对象的边框重叠或相交。  | DisplayObject | |
![]()  | 
     计算显示对象,以确定它是否与 x 和 y 参数指定的点重叠或相交。  | DisplayObject | |
![]()  | 
      返回一个框 Matrix,在绘制水平渐变时可以将其作为 rot 参数传递给 drawRoundRect() 方法。  | UIComponent | |
![]()  | 
      初始化此组件的内部结构。  | UIComponent | |
![]()  | 
      初始化用于跟踪此组件的重复实例的各个属性。  | UIComponent | |
![]()  | 
      标记组件,以便在稍后屏幕更新期间调用该组件的 updateDisplayList() 方法。  | UIComponent | |
![]()  | 
      由某个组件的项目进行调用,以指示其 depth 属性已更改。  | UIComponent | |
![]()  | 
     
          当某元素的 layoutDirection 更改或其父代的 layoutDirection 更改时,该元素必须调用该方法。  | UIComponent | |
![]()  | 
      标记组件,以便在稍后屏幕更新期间调用该组件的 commitProperties() 方法。  | UIComponent | |
![]()  | 
      重新绘制图表。  | ChartBase | |
![]()  | 
      标记组件,以便在稍后屏幕更新期间调用该组件的 measure() 方法。  | UIComponent | |
![]()  | 
	 表示 Object 类的实例是否在指定为参数的对象的原型链中。  | Object | |
![]()  | 
      调度新的 LegendDataChanged 事件。  | ChartBase | |
![]()  | 
     将三维显示对象的(本地)坐标的三维点转换为舞台(全局)坐标中的二维点。  | DisplayObject | |
![]()  | 
      将 Point 对象由本地坐标转换为内容坐标。  | UIComponent | |
![]()  | 
     将 point 对象从显示对象的(本地)坐标转换为舞台(全局)坐标。  | DisplayObject | |
![]()  | 
      
      如果 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 | |
![]()  | [覆盖] 
      
	  设置该对象的高度和宽度。  | ChartBase | |
![]()  | 
	更改现有子项在显示对象容器中的位置。  | DisplayObjectContainer | |
![]()  | 
      设置一个布局约束值的方式,与设置此组件的约束样式的方式相同。  | UIComponent | |
![]()  | 
      设置当前状态。  | UIComponent | |
![]()  | 
      设置此组件的焦点。  | UIComponent | |
![]()  | 
      
      设置元素在屏幕上进行绘制时所用的坐标。  | UIComponent | |
![]()  | 
      
      设置元素的布局大小。  | UIComponent | |
![]()  | 
      
      设置用于相对于其同级组件计算组件的布局大小和位置的转换 Matrix。  | UIComponent | |
![]()  | 
      
      设置用于计算组件相对于其同级组件的布局大小和位置的转换 Matrix3D。  | UIComponent | |
![]()  | 
     设置循环操作动态属性的可用性。  | Object | |
![]()  | 
      对此组件实例设置样式属性。  | UIComponent | |
![]()  | 
      当 visible 属性发生更改时调用。  | UIComponent | |
![]()  | 
      在鼠标指针下显示拖放指示符以指示允许拖放操作。  | ChartBase | |
![]()  | 
	 允许用户拖动指定的 Sprite。  | Sprite | |
![]()  | 
	 使用户可以在启用触摸的设备上拖动指定的 Sprite。  | Sprite | |
![]()  | 
     对源起于此对象的所有 MovieClip 递归停止时间轴执行。  | DisplayObjectContainer | |
![]()  | 
	 结束 startDrag() 方法。  | Sprite | |
![]()  | 
	 结束 startTouchDrag() 方法,用于启用触摸的设备。  | Sprite | |
![]()  | [覆盖] 
      
	  每当样式更改时,重绘此外观。  | CartesianChart | |
![]()  | 
      首次初始化组件样式时,Flex 会调用 stylesInitialized() 方法。  | UIComponent | |
![]()  | [静态] 
      阻止对使用 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 | |
![]()  | 
      如果设置了 showAllDataTips,则将显示所有非交互式数据提示。  | ChartBase | |
![]()  | 
      
      验证子项的位置和大小,并绘制其他可视内容。  | UIComponent | |
![]()  | 
      验证并更新此对象的属性和布局,如果需要的话重绘对象。  | UIComponent | |
![]()  | 
      由布局逻辑用于通过调用 commitProperties() 方法来验证组件的属性。  | UIComponent | |
![]()  | 
      
      如果使用此 ILayoutManagerClient 调用 LayoutManager.invalidateSize() 方法,随后在测量时调用了 validateSize() 方法,则验证组件的度量大小。  | UIComponent | |
![]()  | 
      处理分配给此组件的验证程序调度的 valid 和 invalid 事件。  | UIComponent | |
![]()  | 
	 返回指定对象的原始值。  | Object | |
![]()  | 
      返回一个框 Matrix,在绘制垂直渐变时可以将其作为 rot 参数传递给 drawRoundRect()。  | UIComponent | |
![]()  | 
	检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。  | EventDispatcher | |
受保护的方法 
样式
样式为常见样式,或与特定主题关联。如果为常见样式,则可以用于任何主题。如果样式与特定主题关联,则只有应用程序使用该主题时才能使用该样式。
常见样式
| 样式 | 说明 | 由以下参数定义 | ||
|---|---|---|---|---|
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 设置轴标题格式时使用的 CSS 类选择器的名称.  | CartesianChart | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从内容区域的上边缘到控件的基线位置的垂直距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件底边到其父容器的内容区域底边之间的垂直距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: Array CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 包含一个字符串列表,其中每个字符串都对应一个 CSS 类型选择器,用作系列的默认 CSS 样式.  | ChartBase | ||
![]()  | 类型: uint 格式: Color CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 组件中文本(包括组件标签)的颜色.  | CartesianChart | ||
columnWidthRatio  | 类型: Number CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定所绘列宽相对于类别宽度的比例,此值是介于 0 和 1 之间的百分比值。值 1 表示占用整个空间,而值 0.6 表示占用列可用空间的 60%。实际使用的列宽是 columnWidthRatio 属性与 maxColumnWidth 属性中的较小者。群集化的列在每个群集的列之间按比例分配空间。默认值为 0.65。
  
   | ColumnChart | ||
![]()  | 类型: mx.graphics.IStroke CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 用于将提示线条从数据提示目标显示为数据提示的笔触.  | ChartBase | ||
![]()  | 类型: Class CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定用于显示数据提示的类.  | ChartBase | ||
![]()  | 类型: uint 格式: Color CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 禁用时组件中文本的颜色.  | CartesianChart | ||
![]()  | 类型: uint 格式: Color CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 验证失败时,组件加亮部分的颜色.  | UIComponent | ||
![]()  | 类型: mx.graphics.IFill CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定用于图表背景的填充样式.  | ChartBase | ||
![]()  | 类型: 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 | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 设置内部 TextField 的 antiAliasType 属性. | CartesianChart | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 使用的字体的名称.  | CartesianChart | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 设置用于表示 Flex 控件文本的内部 TextField 的 gridFitType 属性. | CartesianChart | ||
![]()  | 类型: Number CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 设置用于表示 Flex 控件文本的内部 TextField 的 sharpness 属性. | CartesianChart | ||
![]()  | 类型: Number 格式: Length CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 文本的高度,以像素为单位.  | CartesianChart | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 确定文本是否使用斜体.  | CartesianChart | ||
![]()  | 类型: Number CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 设置用于表示 Flex 控件文本的内部 TextField 的 thickness 属性. | CartesianChart | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 确定文本是否使用粗体.  | CartesianChart | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 用于定义默认网格线的样式属性的类选择器.  | CartesianChart | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 图表数据区域底部与图表控件底部之间的区域大小(以像素为单位).  | CartesianChart | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 图表数据区域左侧与图表控件左侧之间的区域大小(以像素为单位).  | CartesianChart | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 图表数据区域右侧与图表控件外部之间的区域大小(以像素为单位).  | CartesianChart | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 图表数据区域顶部与图表控件顶部之间的区域大小(以像素为单位).  | CartesianChart | ||
![]()  | 类型: Array CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 用于定义水平轴样式属性的类选择器数组.  | CartesianChart | ||
![]()  | 类型: 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 | ||
![]()  | 类型: uint 格式: Color CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 图表中禁用的 chartitem 的颜色.  | ChartBase | ||
![]()  | 类型: uint 格式: Color CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 图表中的 rolledOver chartitem 的颜色.  | ChartBase | ||
![]()  | 类型: uint 格式: Color CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 图表中所选 chartitem 的颜色.  | ChartBase | ||
![]()  | 类型: Boolean CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 一个布尔值,表示是启用 ( true) 还是禁用 (false) 字距调整. | CartesianChart | ||
labelClass  | 类型: Class CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 4 运行时版本: Flash10.2, AIR 2.0 由此组件用来呈示标签的类。 可以将此类设置为 mx.controls.Label 类或 spark.components.Label 类。 默认值为 spark.components.Label。 | ColumnChart | ||
![]()  | 类型: 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 | ||
![]()  | 类型: Number CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 各字符之间显示的附加像素数.  | CartesianChart | ||
maxColumnWidth  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定列的绘制宽度,以像素为单位。实际使用的列宽是此属性与 columnWidthRatio 属性中的较小者。群集化的列在每个群集的列之间按比例分配空间。 
  
   | ColumnChart | ||
![]()  | 类型: int CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定图表将显示的最大数据提示数.  | ChartBase | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定图表的底部边界与其内容区域之间的像素数目.  | ChartBase | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 控件左边框与内容区域左边缘之间的像素数目.  | ChartBase | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 控件右边框与内容区域右边缘之间的像素数目.  | ChartBase | ||
![]()  | 类型: Number 格式: Length CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指定图表的顶部边界与其内容区域之间的像素数目.  | ChartBase | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件右边到其父容器的内容区域右边之间的水平距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: Boolean CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 指示在 showDataTips 设置为 true 时是否基于数据点显示目标. | ChartBase | ||
![]()  | 类型: 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 | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 容器内文本的对齐方式.  | CartesianChart | ||
![]()  | 类型: String CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 确定文本是否加下划线.  | CartesianChart | ||
![]()  | 类型: Number 格式: Length CSS 继承: 是 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 文本第一行偏离容器左侧的距离(以像素为单位).  | CartesianChart | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件顶边到其父容器的内容区域顶边之间的垂直距离(以像素为单位).  | UIComponent | ||
![]()  | 类型: Array CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 用于定义垂直轴样式属性的类选择器数组.  | CartesianChart | ||
![]()  | 类型: String CSS 继承: 否 语言版本: ActionScript 3.0 产品版本: Flex 3 运行时版本: Flash9, AIR 1.1 从组件内容区域的中心到组件中心的垂直距离(以像素为单位).  | UIComponent | ||
Spark 主题样式
Halo 主题样式
属性详细信息
extendLabelToEnd | 属性 | 
maxLabelWidth | 属性 | 
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):voidshowLabelVertically | 属性 | 
type | 属性 | 
type:String| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
列图表的类型。
可能的值包括:
"clustered":按类别分组来自不同系列的值。这是默认类型。"overlaid":多个值以逐个叠加的方式按类别呈示,最后的系列位于最顶部。"stacked":列以堆栈的方式逐层堆叠,并按类别进行组织。各列都表示其下方列的累计值。"100%":列以堆栈的方式逐层堆叠,一直累积至 100%。各列表示该列所占该类别的值之和的百分比。
实现
    public function get type():String    public function set type(value:String):void构造函数详细信息
ColumnChart | () | 构造函数 | 
public function ColumnChart()| 语言版本: | ActionScript 3.0 | 
| 产品版本: | Flex 3 | 
| 运行时版本: | Flash Player 9, AIR 1.1 | 
构造函数。
示例 如何使用本示例 
Column_BarChartExample.mxml
<?xml version="1.0"?>
<!-- Simple example to demonstrate the ColumnChart and BarChart 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 medalsAC:ArrayCollection = new ArrayCollection( [
            { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
            { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
            { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
        ]]>
    </fx:Script>
    <fx:Declarations>
        <!-- Define custom colors for use as fills. -->
        <mx:SolidColor id="sc1" color="yellow" alpha=".8"/>
        <mx:SolidColor id="sc2" color="0xCCCCCC" alpha=".6"/>
        <mx:SolidColor id="sc3" color="0xFFCC66" alpha=".6"/>
        <!-- Define custom Strokes for the columns. -->
        <mx:SolidColorStroke id="s1" color="yellow" weight="2"/>
        <mx:SolidColorStroke id="s2" color="0xCCCCCC" weight="2"/>
        <mx:SolidColorStroke id="s3" color="0xFFCC66" weight="2"/>
    </fx:Declarations>
    <mx:Panel title="ColumnChart and BarChart Controls Example" 
        height="100%" width="100%" layout="horizontal">
        <mx:ColumnChart id="column" 
            height="100%" 
            width="45%" 
            paddingLeft="5" 
            paddingRight="5" 
            showDataTips="true" 
            dataProvider="{medalsAC}"
        >                
            <mx:horizontalAxis>
                <mx:CategoryAxis categoryField="Country"/>
            </mx:horizontalAxis>
                
            <mx:series>
                <mx:ColumnSeries 
                    xField="Country" 
                    yField="Gold" 
                    displayName="Gold"
                    fill="{sc1}"
                    stroke="{s1}"
                />
                <mx:ColumnSeries 
                    xField="Country" 
                    yField="Silver" 
                    displayName="Silver"
                    fill="{sc2}"
                    stroke="{s2}"
                />
                <mx:ColumnSeries 
                    xField="Country" 
                    yField="Bronze" 
                    displayName="Bronze"
                    fill="{sc3}"
                    stroke="{s3}"
                />
            </mx:series>
        </mx:ColumnChart>
        <mx:Legend dataProvider="{column}"/>
         <mx:BarChart id="bar" height="100%" width="45%" 
            paddingLeft="5" paddingRight="5" 
            showDataTips="true" dataProvider="{medalsAC}">
                
            <mx:verticalAxis>
                <mx:CategoryAxis categoryField="Country"/>
            </mx:verticalAxis>
                
            <mx:series>
                <mx:BarSeries 
                    yField="Country" 
                    xField="Gold" 
                    displayName="Gold"
                    fill="{sc1}"
                    stroke="{s1}"
                />
                <mx:BarSeries 
                    yField="Country" 
                    xField="Silver" 
                    displayName="Silver"
                    fill="{sc2}"
                    stroke="{s2}"
                />
                <mx:BarSeries 
                    yField="Country" 
                    xField="Bronze" 
                    displayName="Bronze"
                    fill="{sc3}"
                    stroke="{s3}"
                />
            </mx:series>
        </mx:BarChart>
        <mx:Legend dataProvider="{bar}"/>
    </mx:Panel>
</s:Application>
Tue Jun 12 2018, 11:04 AM Z
 
显示 MXML 语法