Hi!

I'm using a bubble chart with showAllDataTips="true" and the
dataTipRenderer below. The datatip shows up correctly for a single
bubble, but if showAllDataTips is set to true, nothing is showing.
Here ist the code for the dataTipRenderer. Maybe someone can help on this.

Thanks in advance!

<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml";>

    <mx:Label text="{_name}" width="100%" textAlign="center"
fontWeight="bold" fontSize="11" />

    <mx:Script>
        <![CDATA[
            import mx.charts.HitData;            
            
            [Bindable] private var _name:String;

            override public function set data(value:Object):void{
                var hitData:HitData = value as HitData;
               
                _name = hitData.item.name;
            }//end set data
        ]]>
    </mx:Script>
</mx:VBox> 

Reply via email to