In Adobe's dashboard sample app,
http://www.adobe.com/devnet/flex/samples/dashboard/  it assigns a
charting component's dataProvider to an ArrayCollection's source (e.g.
revenueData="{slicedRegionData.source}")  In the regionChange() function
it sets the array regionData and assigns it to slicedRegionData.source 
 
My question is, the delivered code
 
slicedRegionData.source = regionData.slice(slider.values[0],
slider.values[1] + 1); 
Alert.show(ObjectUtil.toString(slicedRegionData.source));
 
and
 
slicedRegionData.source = regionData; 
Alert.show(ObjectUtil.toString(slicedRegionData.source));
 
Without the .slice,  output the exact same data, but the region detail
does not auto update without using the .slice code. WHY???  Thanks for
any insight on this.
 
Robert



** Confidentiality Notice: This e-mail and any files transmitted with it are 
confidential to the extent permitted by law and intended solely for the use of 
the individual or entity to whom they are addressed. If you have received this 
e-mail in error please notify the originator of the message and destroy all 
copies. **

Reply via email to