You are viewing documentation for an older version. For current documentation - click here.

Can I have the charts pull data directly from an array or recordset or webservice?

No. FusionCharts necessarily needs its data in XML format. If you've your data in arrays, recordsets or as webservices, use your Flash code to retrieve the data from these sources and then convert it into XML at run-time (using string concatenation or XML Object methods). Finally, you can provide the XML to FusionCharts.

You do not need to physically write XML files on disk. You can just provide the XML object instance FusionCharts and it will read the same.

How do I update the data of a chart that has already instantiated and is showing?

To do so,

  1. First call the remove() method of the chart object, so that all objects of the chart are removed.
  2. Call the reInit() method of the chart object, to re-initialize chart
  3. Set the new XML Data using setXMLData() method
  4. Call render() method finally to render the chart

Can I just update a specific data item on the chart (like one column or one point)?

No - you cannot update just a specific data. As of now, you'll need to update the entire chart with new XML.

I'm done working with the chart object and would not use it again in the movie. How should I dispose it?

Just call the destroy() method of the chart object and our class will take care of the rest.

Can I load FusionCharts charts in Accordion/ScrollPane component?

At the time of this writing - no. Those components can show only objects that derive from UIObject class. FusionCharts derives from its own custom classes.