0 Replies Latest reply on Feb 5, 2007 2:57 PM by beckerb4

    Single Bubble does not show in bubble chart

    beckerb4
      It would be great if there were a separate forum for Flex Charting related discussion.

      I noticed that you have only one row of data in your dataProvider for a BubbleChart (and hence only one bubble), the chart shows up empty. I believe this is a bug. Here is a test program:

      <mx:Script> <![CDATA[
      [Bindable]
      private var expenses:ArrayCollection = new ArrayCollection([
      {Month: "Jan", Profit: 2400, Expenses: 1500, Amount: 1450}
      ]);
      ]]>
      </mx:Script>


      <mx:BubbleChart id="bubble2" paddingLeft="5" height="100%" width="100%" creationComplete="init()"
      paddingRight="5" dataProvider="{expenses}" showDataTips="true">
      <mx:series >
      <mx:Array>
      <mx:BubbleSeries dataProvider="{expenses}" xField="Expenses" yField="Profit" radiusField="Amount" name="e1" fill="{grad}" rollOverEffect="{glow}" />

      </mx:Array>
      </mx:series>
      </mx:BubbleChart>
      <mx:Legend dataProvider="{bubble2}"/>