[
https://issues.apache.org/jira/browse/FLEX-34982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072719#comment-15072719
]
Mark Kessler commented on FLEX-34982:
-------------------------------------
-Changed initStyles method to be called from class constructor. This allowed
the styles setup to be attempted more than just once.
-Added a fallback for the styles to be set directly to the chart series if the
style declaration was not found.
> Charting components that are unable to find their style declarations causing
> RTE
> --------------------------------------------------------------------------------
>
> Key: FLEX-34982
> URL: https://issues.apache.org/jira/browse/FLEX-34982
> Project: Apache Flex
> Issue Type: Bug
> Components: Charts
> Affects Versions: Apache Flex 4.14.1
> Reporter: Mark Kessler
> Assignee: Mark Kessler
> Priority: Minor
> Fix For: Apache Flex 4.15.0
>
>
> If a charts initStyles method in the series files cannot find it's style
> declaration, it doesn't stop or having anything to fall back on. The other
> methods in the charts do not perform null checks on the missing styles and
> cause RTE's.
> This affects: Pie, Line, Area, Bar, Plot, Bubbles, Candlestick, Column, HLOC
> charts.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)