[ https://issues.apache.org/jira/browse/FLEX-32887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449276#comment-13449276 ]
Stephane Schittly commented on FLEX-32887: ------------------------------------------ An easy workaround: add a condition to the data provider: dataProvider="{(serviceResult.lastResult.length > 1) ? serviceResult.lastResult : null}" - of course it will prevent to display only one item, but at least it doesn't crash. > Crash in chart drawing > ---------------------- > > Key: FLEX-32887 > URL: https://issues.apache.org/jira/browse/FLEX-32887 > Project: Apache Flex > Issue Type: Bug > Components: Charts:Data Graphics > Affects Versions: Adobe Flex SDK 4.1 (Release) > Environment: Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > > Steps to reproduce: > Run attached testcase > > Actual Results: > TypeError: Error #1010: A term is undefined and has no properties. > at > mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\charts\chartClasses\GraphicsUtilities.as:327] > at > mx.charts.renderers::AreaRenderer/updateDisplayList()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\charts\renderers\AreaRenderer.as:169] > at > mx.skins::ProgrammaticSkin/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:503] > at > mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:663] > at > mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] > at > mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira