Its better if yu paste some code. You error says it a type conversion error. It cannot convert LineChart to ColumnChart. Check the code again..
On Tue, Aug 18, 2009 at 4:08 PM, kalavati singh <kalavati.si...@gmail.com>wrote: > Hello Ravi, > I have multi series in a Line chart ( column & line series) I want > to add labels on the top of of column chart.Intially i wrote a > labelfunction but its not working as intended so I replaced labelfunction > with Labelposition="outside " & labelField="id",I get this error.Let me > know if you need any further details on it > > > Regards > Kalavati > > > On Tue, Aug 18, 2009 at 4:02 PM, Ravi Mishra <ravi.achi...@gmail.com>wrote: > >> >> 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()<http://adobe.com/AS3/2006/builtin::apply%28%29> >> > 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 -~----------~----~----~----~------~----~------~--~---