Handling ICollectionView format

An ICollectionView is a view onto a collection of data. All Classes implementing the ICollectionView interface (XML, XMLListCollection, ArrayCollection) are handled in the same way by the component.


In the following example, we show how Pictogram Chart provide an innovative way to filter an XML input and show extra data patterns :

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%" xmlns:pictogram="fr.kapit.pictogram.*">
	<fx:Declarations>
		<s:ArrayCollection id="dp" xmlns="">
			<fx:Object code="FR" name="France" value="55"/>
			<fx:Object code="USA" name="America" value="6"/>
			<fx:Object code="TN" name="Tunisia" value="21"/>
			<fx:Object code="EGY" name="Egypt" value="31"/>
			<fx:Object code="GR" name="Germany" value="55"/>
			<fx:Object code="IT" name="Italy" value="23"/>
			<fx:Object code="UK" name="United Kingdom" value="54"/>
		</s:ArrayCollection>
	</fx:Declarations>
	
	<s:Group width="100%" height="100%">
		<pictogram:PictogramChart dataProvider="{dp}" 
						   valueField="value"
						   metaDataField="name"
						   cellGridPercentHeight="80"
						   width="100%" height="100%">
		</pictogram:PictogramChart>
	</s:Group>
	
</s:Application>