Legends
You now enclose the data provider for Legend controls in curley braces; for example:
Flex 1.x:
<mx:LineChart id="linechart">
...
</mx:LineChart>
<mx:Legend dataProvider="linechart"/>
Flex 2:
<mx:LineChart id="linechart">
...
</mx:LineChart>
<mx:Legend dataProvider="{linechart}"/>
Interfaces
All chart interfaces now follow the I* naming scheme, as the following table shows:
Flex 1.x Name
BoxRenderer
AreaRenderer
WedgeRenderer
LineRenderer
Fill
Axis
AxisRenderer
168
Additional Migration Issues
Flex 2 Name
IBoxRenderer
IAreaRenderer
IWedgeRenderer
ILineRenderer
IFill
IAxis
IAxisRenderer (the interface, not the class)
Need help?
Do you have a question about the FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 and is the answer not in the manual?
Questions and answers