2013-11-25 11 views

답변

0

가능합니다. 범례에 이벤트 리스너를 추가하고 이벤트 처리기에서 해당 차트 항목을 강조 표시하면됩니다. Creating a custom Legend control

: 여기
// Assign an id to each legend item 
<mx:LegendItem id="yourLegendItem" label="Your Label"> 

// Add a mouse click event listener to it 
yourLegendItem.addEventListener(MouseEvent.CLICK, highlightYourChartItem); 

// Handle the mouse clicks 
function highlightYourChartItem(event:MouseEvent):void 
{ 
    // Code to highlight the item. You can add a glow, change the color, etc 
} 

는 별도의 전설 컨트롤을 만드는 방법에 대한 튜토리얼입니다