2 Replies Latest reply on Aug 18, 2009 12:02 AM by kkc_mca

    TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts::LineChart@583c5c1 to mx.charts.ColumnChart.

    KalavatiSingh Level 1

      Hi,

       

           I tried by  replacing label function  with labelposition=" outside" & labelFeild="id"

       

          I get en error

       

       

       

       

       

      TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts::LineChart@583c5c1 to mx.charts.ColumnChart.
          at mx.charts.series::ColumnSeries/updateTransform()[C:\work\flex\dmv_automation\pr ojects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1295]
          at mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automation\ projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]
          at mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automation\ projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
          at mx.charts.series::ColumnSeries/updateDisplayList()[C:\work\flex\dmv_automation\ projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1354]
          at mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\core\UIComponent.as:6351]
          at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\ projects\framework\src\mx\managers\LayoutManager.as:622]
          at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework s\projects\framework\src\mx\managers\LayoutManager.as:677]
          at Function/http://adobe.com/AS3/2006/builtin::apply()
          at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje cts\framework\src\mx\core\UIComponent.as:8628]
          at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\core\UIComponent.as:8568]

       

       

       

         after googling for some time i donot know if its a bug or error

       

       

       

       

       

      Regards

       

      Kalavati

      kalavati_singh@yahoo.co.in