MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Uživatelský manuál Strana 168

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 184
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 167
168 Additional Migration Issues
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 Flex 2 Name
BoxRenderer IBoxRenderer
AreaRenderer IAreaRenderer
WedgeRenderer IWedgeRenderer
LineRenderer ILineRenderer
Fill IFill
Axis IAxis
AxisRenderer IAxisRenderer (the interface, not the class)
Zobrazit stránku 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 183 184

Komentáře k této Příručce

Žádné komentáře