Hi Kalavati, What do you mean by replacing labelFunction with labelPosition="outside" & labelField="id"? These are not the same things. And I hope this is not a bug but there is some error in your code which is assigning a variable of type LineChart to a variable of type ColumnChart.
HTH, -Ravi http://achieveravi.blogspot.com On Aug 18, 11:17 am, kalavati singh <kalavati.si...@gmail.com> wrote: > Hi, > > I tried by replacing label function with labelposition=" outside" & > labelFeild="id" in column series > > I get en error > > TypeError: Error #1034: Type Coercion failed: cannot convert > mx.charts::linech...@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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---