0 Replies Latest reply on May 24, 2012 12:08 PM by fsoender

    Flex Container ERROR

    fsoender Level 1

      I need help with flex container, trying to contain my linearchart.

       

      Error message in the end.

       

      Code:

       

      <?xml version="1.0" encoding="utf-8"?>

       

      <s:Application

                   xmlns:fx="http://ns.adobe.com/mxml/2009"      

             xmlns:s="library://ns.adobe.com/flex/spark"   

             xmlns:mx="library://ns.adobe.com/flex/mx">

            

            

                          <s:Scroller width="700" height="190">

                                

                                 <s:Group id="myGroup" height="141" width="200">

                                       

                                        <mx:Form id="from1" x="51" y="141" width="258" height="100">                                 

                                             

                                        mx:LineChart id="chart" x="51" y="141" width="875" height="190" dataProvider="{myArray}"

                                              showDataTips="true">

                                             

                                              <mx:horizontalAxis>

                                                     <mx:LinearAxis/>

                                              </mx:horizontalAxis>

                                              <mx:verticalAxis>

                                                     <mx:LinearAxis minimum="0"/>

                                              </mx:verticalAxis>

                                              <mx:series>

                                                     <mx:LineSeries yField="Value"/>

                                              </mx:series>

                                        </mx:LineChart>                                      

                                        </mx:Form>         

                                 </s:Group>                

                          </s:Scroller>

                   </s:Application

       

       

      Error:

       

      Error.jpg