Adding clickable bars to your Flex chart is nice, but making them actually look like clickable bars is even nicer.

Here’s how to do it:

<mx:BarChart itemClick="onItemClick(event)">
    <mx:series>
        <mx:BarSeries buttonMode="true" />
    </mx:series>
</mx:BarChart>


The magic is setting the buttonMode property on the BarSeries to true.