メソッド | プロパティ | エフェクト | イベント | スタイル フレームあり | フレームなし

mx.charts
Legend クラス

継承を示す線継承を示す線継承を示す線継承を示す線継承を示す線


Legend 凡例
mx.containers.Tile の拡張

Legend コントロールを使用すると、グラフに凡例を追加できます。凡例にはグラフ内の各データ系列のラベルや、データ系列のグラフエレメントを示すキーが表示されます。

Legend コントロールを初期化するには、グラフコントロールの識別子を Legend コントロールの dataProvider プロパティにバインドするか、または LegendItem オブジェクトの配列を定義します。

MXML シンタックス

<mx:Legend> タグは、親クラスのすべてのプロパティと、次のプロパティを継承します。

 <mx:Legend
dataProvider="No default"
itemClick="Event; no default"
itemMouseDown="Event; no default"
itemMouseOut="Event; no default"
itemMouseOver="Event; no default"
itemMouseUp="Event; no default"
labelPlacement="right|left|top|bottom"
markerHeight="15"
markerWidth="10"
renderer="No default"
stroke="Stroke; no default"
/>

関連項目
    LegendItem



メソッド

mx.containers.Tile クラスから継承されるメソッド
layoutChildren   measure  

mx.containers.Container クラスから継承されるメソッド
createChildren   draw   executeChildBindings   getViewMetrics   getViewMetricsAndMargins   init  

mx.core.View クラスから継承されるメソッド
childLoaded   constructObject2   createChild   createChildren   destroyAllChildren   destroyChild   destroyChildAt   draw   getBorderMetrics   getChildAt   getChildIndex   getViewMetrics   init   layoutChildren   layoutChrome   setChildIndex  

mx.core.UIComponent クラスから継承されるメソッド
drawFocus   getFocus   getFocusManager   setEnabled   setFocus  

mx.core.UIObject クラスから継承されるメソッド
addEventListener   applyProperties   buildDepthTable   commitProperties   constructObject2   createAccessibilityImplementation   createChildAtDepth   createChildren   createClassChildAtDepth   createClassObject   createEmptyObject   destroyObject   dispatchEvent   doLater   draw   drawRect   executeBindings   fillRect   findNextAvailableDepth   getRepeaterItem   getStyle   handleEvent   init   invalidate   invalidateLayout   invalidateProperties   invalidateSize   invalidateStyle   layoutChildren   measure   move   redraw   removeEventListener   setDepthAbove   setDepthBelow   setMask   setSize   setSizeNoLayout   setStyle   swapDepths  



プロパティ
       dataProvider:Object
Legend で使用する一連のデータです。

mx.containers.Tile クラスから継承されるプロパティ
direction   tileHeight   tileWidth  

mx.containers.Container クラスから継承されるプロパティ
autoLayout   childDescriptors   className   clipContent   creationIndex   creationPolicy   defaultButton   hLineScrollSize   hPageScrollSize   hPosition   hScrollPolicy   icon   label   maxHPosition   maxVPosition   numRepeaters   version   vLineScrollSize   vPageScrollSize   vPosition   vScrollPolicy  

mx.core.View クラスから継承されるプロパティ
baselinePosition   className   numChildren   version  

mx.core.UIComponent クラスから継承されるプロパティ
enabled   errorString   tabEnabled   tabIndex   version  

mx.core.UIObject クラスから継承されるプロパティ
alpha   baselinePosition   className   depth   documentDescriptor   height   heightFlex   id   instanceIndices   isDocument   kStretch   layoutHeight   layoutWidth   maxHeight   maxWidth   minHeight   minWidth   mouseX   mouseY   nestLevel   oldHeight   oldWidth   oldX   oldY   parent   parentApplication   parentDocument   percentHeight   percentWidth   preferredHeight   preferredWidth   repeaterIndices   scaleX   scaleY   styleName   tabEnabled   toolTip   version   visible   width   widthFlex   x   y  



エフェクト

mx.core.UIComponent クラスから継承されるエフェクト
focusInEffect   focusOutEffect  

mx.core.UIObject クラスから継承されるエフェクト
creationCompleteEffect   hideEffect   mouseDownEffect   mouseOutEffect   mouseOverEffect   mouseUpEffect   moveEffect   resizeEffect   showEffect  



イベント
itemClickユーザーが Legend コントロール内の LegendItem をクリックしたときにブロードキャストされます。イベントオブジェクトの target プロパティには Legend コントロールへの参照が含まれ、type プロパティにはストリング 'itemClick' が含まれ、item プロパティには選択した LegendItem オブジェクトへの参照が含まれます。
itemMouseDownユーザーが Legend コントロール内の LegendItem 上でマウスボタンを押したときにブロードキャストされます。イベントオブジェクトの target プロパティには Legend コントロールへの参照が含まれ、type プロパティにはストリング 'itemMouseDown' が含まれ、item プロパティには LegendItem オブジェクトへの参照が含まれます。
itemMouseOutユーザーが Legend コントロール内の LegendItem の外へマウスを移動したときにブロードキャストされます。イベントオブジェクトの target プロパティには Legend コントロールへの参照が含まれ、type プロパティにはストリング 'itemMouseOut' が含まれ、item プロパティには LegendItem オブジェクトへの参照が含まれます。
itemMouseOverユーザーが Legend コントロール内の LegendItem 上にマウスを移動したときにブロードキャストされます。イベントオブジェクトの target プロパティには Legend コントロールへの参照が含まれ、type プロパティにはストリング 'itemMouseOver' が含まれ、item プロパティには LegendItem オブジェクトへの参照が含まれます。
itemMouseUpユーザーが Legend コントロール内の LegendItem 上でマウスボタンを離したときにブロードキャストされます。イベントオブジェクトの target プロパティには Legend コントロールへの参照が含まれ、type プロパティにはストリング 'itemMouseUp' が含まれ、item プロパティには LegendItem オブジェクトへの参照が含まれます。

mx.containers.Container クラスから継承されるイベント
childrenCreated  scroll 

<mx.core.View クラスから継承されるイベント
childCreated  childDestroyed  childIndexChanged 

mx.core.UIComponent クラスから継承されるイベント
focusIn  focusOut  invalid  keyDown  keyUp  valid  valueCommitted 

mx.core.UIObject クラスから継承されるイベント
creationComplete  dragComplete  dragDrop  dragEnter  dragExit  dragOver  draw  effectEnd  effectStart  hide  hideToolTip  initialize  load  mouseChangeSomewhere  mouseDown  mouseDownSomewhere  mouseMove  mouseMoveSomewhere  mouseOut  mouseOver  mouseUp  mouseUpSomewhere  move  resize  show  showToolTip  unload 



スタイル
labelPlacementCSS の継承 : あり
凡例エレメントのラベルの配置を指定します。有効な値は、topbottomright、および left です。
markerHeight型 : Number   形式 : Length   CSS の継承 : あり
凡例エレメントの高さを指定します。
markerWidth型 : Number   形式 : Length   CSS の継承 : あり
凡例エレメントの幅を指定します。
renderer型 : Object   CSS の継承 : なし
凡例エレメントのレンダラーを指定します。レンダラーは BoxRenderer インターフェイスを実装する必要があります。
stroke型 : Object   CSS の継承 : なし
凡例エレメントの線のストロークを指定します。

mx.containers.Tile クラスから継承されるスタイル
horizontalAlign   horizontalGap   marginBottom   marginTop   verticalAlign   verticalGap  

mx.core.UIComponent クラスから継承されるスタイル
backgroundAlpha   backgroundColor   backgroundDisabledColor   backgroundImage   backgroundSize   barColor   borderCapColor   borderColor   borderSides   borderStyle   borderThickness   cornerRadius   disabledColor   dropShadow   errorColor   fillColors   highlightColor   modalTransparency   scrollTrackColor   selectedFillColors   shadowCapColor   shadowColor   shadowDirection   shadowDistance   symbolBackgroundColor   symbolBackgroundDisabledColor   symbolBackgroundPressedColor   symbolColor   symbolDisabledColor   themeColor  

mx.core.UIObject クラスから継承されるスタイル
color   fontFamily   fontSize   fontStyle   fontWeight   horizontalGap   leading   marginLeft   marginRight   textAlign   textDecoration   textIndent   verticalGap  



プロパティの詳細

dataProvider

dataProvider:Object  

Legend で使用する一連のデータです。