|
|
|
mx:repeater
|
|||
|---|---|---|---|
|
#18+
Плз помогите заменить это <mx:series> <mx:LineSeries displayName="1996" yField="year1996"/> <mx:LineSeries displayName="1997" yField="year1997"/> <mx:LineSeries displayName="1998" yField="year1998"/> <mx:LineSeries displayName="1999" yField="year1999"/> <mx:LineSeries displayName="2000" yField="year2000"/> <mx:LineSeries displayName="2001" yField="year2001"/> <mx:LineSeries displayName="2002" yField="year2002"/> <mx:LineSeries displayName="2003" yField="year2003"/> </mx:series> циклом, через mx:repeater делаю так: <mx:series> <mx:Repeater id="sprep" dataProvider="{myArrYears}"> <mx:LineSeries displayName="{String(sprep.currentItem)}" yField="year{String(sprep.currentItem)}"/> </mx:Repeater> </mx:series> <![CDATA[ [Bindable] private var myArrYears:Array = [1996,1997,1998,1999,2000,2001,2002,2003]; но что-то ничего не выводит. Заранее спасибо ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.04.2010, 23:45:45 |
|
||
|
|

start [/forum/topic.php?fid=16&msg=36601815&tid=1343720]: |
0ms |
get settings: |
9ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
193ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
46ms |
get tp. blocked users: |
1ms |
| others: | 244ms |
| total: | 534ms |

| 0 / 0 |
