I think I know what is the problem. The arraycollection "men" has those individual values like 50. or 45. etc. However, the itemrenderer only recognizes this as a single value and therefore puts one dummy. So you need to create subarrays or arraycollections for each individual value with 45 or 50 or whatever number of counts. That would be one way but you can only have integer numbers.
A second method is to create graphic blocks of varying length, which serve as mask. Underneath the mask you have an image with icons. Then you need to change the itemrenderer to something like this:
<s:Rect id="dummyIcon" width="{data * 10}" height="10" x="0" y="0">




Reply With Quote
