FusionCharts for Flex > How it Works > Data Structures Supported

FusionCharts for Flex can work directly with various Flex data sources. These data sources are capable of declaring single-series/multi-series data and can therefore be converted into FusionCharts XML.

The following Flex data sources are bind-able to the FusionCharts object:

String

The String class is a data type that represents a string of characters. The String class provides methods and properties by which you can manipulate the primitive string data types. It can be used to pass a FusionCharts XML as String variable.

ArrayCollection

The ArrayCollection class is a wrapper class that exposes an Array as a collection. It can be accessed and manipulated by using the methods and properties of the ICollectionView or IList interfaces. This object can be declared as an associative array that allows you to declare single-series/multi-series data. This data structure is not supported by FusionWidgets.

XML

The XML class contains methods and properties that allow you to work with the XML objects. You can directly declare the FusionCharts XML in form of this data type. This data structure is not supported by FusionWidgets.

Model

You can Use <mx:Model> tag to declare a data model in MXML. An <mx:Model> tag is compiled into a tree of ActionScript objects. The leaves of the tree are scalar values. This data type can be used for creating a tree based data-structure (like FusionCharts XML). This data structure is not supported by FusionWidgets.

For more information regarding how to use these data types, visit the "Creating Charts" section.
Due to the unique XML structure of each widget, FusionWidgets only supports String objects for data specification. You can learn about the individual widgets in "Creating Widgets" section.