flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio Todaro (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-29014) RTE in BarChart with data label
Date Thu, 08 Aug 2013 10:39:49 GMT

    [ 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

Mime
View raw message