[
https://issues.apache.org/jira/browse/FLEX-29014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733356#comment-13733356
]
Fabio Todaro commented on FLEX-29014:
-------------------------------------
I don't know if this is the good place to propose a solution or maybe i should
clone the issue, if someone could tell me how handle this for the future i
would be grate.
Now the solution i've found ( NOT TESTED sorry i've not time to recompile flex
sdk):
Flex 4.9.1
File: BarChart.as
Change line 722
From
var prevItemsCount:int = _barSeriesLen - 1 - (i % _barSeriesLen);
To
var prevItemsCount:int = Math.min(_barSeriesLen - 1 - (i % _barSeriesLen),
_allItems.length - 1 - i);
> RTE in BarChart with data label
> -------------------------------
>
> Key: FLEX-29014
> URL: https://issues.apache.org/jira/browse/FLEX-29014
> Project: Apache Flex
> Issue Type: Bug
> Components: MXML Components
> Affects Versions: Adobe Flex SDK 4.6 (Release)
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows 7
> Browser: Internet Explorer 8.x
> Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Run barChartRTE.mxml
>
> Actual Results:
> TypeError: Error #1009: Cannot access a property or method of a null object
> reference.
> RTE in Flex SDK 4.6 when the chart data include 0 .
> It's OK in Flex SDK 4.5.1.
--
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