0 Replies Latest reply on Jan 5, 2012 2:26 AM by Flex4_5

    problem with chart

    Flex4_5

      Hi ALL,

       

      i have a problem with a chart in flex 4.5 :

      when i excute my application  an error message apparead indicate :

       

      Error #1088: The markup in the document following the root element must be well-formed.

       

      after 2 hours i find the position off error but i can't retrieve any solution:

       

      so my problem is the level of data provider because i spend on chart as XMLList ,when i read data this error given above appeared

       

      a bit of code when this error is trigged:

       

      <mx:GridRow width="100%"

                                                                                                                                                                      height="2 8">

                                                                                                                                                  <mx:GridItem paddingTop="1"

                                                                                                                                                                                 height="100%"

                                                                                                                                                                                 paddingLeft="10">

                                                                                                                                                            <s:TextArea id="BoxAreaExc_7"

                                                                                                                                                                                           contentBackgroundColor="{colors[7]}"

                                                                                                                                                                                           text="8"

                                                                                                                                                                                           width="18"

                                                                                                                                                                                           height="18"

                                                                                                                                                                                           styleName="textAreaStyle"

                                                                                                                                                                                           editable="false"/>

                                                                                                                                                  </mx:GridItem>

                                                                                                                                                  <mx:GridItem paddingTop="2"

                                                                                                                                                                                 width="100%"

                                                                                                                                                                                 height="100%"

                                                                                                                                                                                 paddingLeft="10">

                                                                                                                                                            <s:Label id="labelExc_7_txt"

      text="{pieData[7].@level}"

                                                                                                                                                                                 buttonMode="true"

                                                                                                                                                                                 styleName="labelBold"/><!-- -->

                                                                                                                                                  </mx:GridItem>

                                                                                                                                                  <mx:GridItem width="100%"

                                                                                                                                                                                 height="100%"

                                                                                                                                                                                 horizontalAlign="right"

                                                                                                                                                                                 paddingLeft="50">

                                                                                                                                                            <mx:LinkButton buttonMode="{valueExc_7_btn.enabled}"

                                                                                                                                                                                              id="valueExc_7_btn"

                                                                                                                                                                                              click="excOutStandings(8,pieData[7].@excluded)"

                                                                                                                                                                                              enabled="{(entityCombo.textLabel=='All'||valueExc_7_btn.label=='')?false:true}"

           label="{pieData[7].@excluded}"

                                                                                                                                                                                             /><!--

                                                                                                                     

                                                                                                                                                                                              -->

                                                                                                                                                  </mx:GridItem>

                                                                                                                                                  <mx:GridItem width="100%"

                                                                                                                                                                                 height="100%"

                                                                                                                                                                                 horizontalAlign="right"

                                                                                                                                                                                 paddingLeft="50">

                                                                                                                                                            <mx:LinkButton buttonMode="{valueInc_7_btn.enabled}"

                                                                                                                                                                                              id="valueInc_7_btn"

                                                                                                                                                                                              click="incMovement(pieData[7].@num)"

                                                                                                                                                                                              enabled="{(entityCombo.textLabel=='All'||valueInc_7_btn.label=='')?false:true}"

            label="{pieData[7].@included}"

                                                                                                                                                                                             /><!--

                                                                                                                    

                                                                                                                                                                                             -->

                                                                                                                                                  </mx:GridItem>

                                                                                                                                        </mx:GridRow>

       

      the rows selected by the red is his problem that causes