This example was created with the Actuate BIRT Report Designer Professional version 11 SP1.<br />
<br />
This example plots product sales by state on a Flash map of the USA. It colors the states that have data based on the data value. <br />
<br />
Steps used to create this sample
<br />
- Create a data source connection to classic models<br />
<br />
- Create a data set that returns a sum of product sales for each customer state.<br />
<br />
- Create a report variable containing an empty string used to build a string of entries to be embedded in the XML passed to the Flash.<br />
<br />
- Insert a table into the report.<br />
<br />
- Create bindings on the table to the state and value<br />
<br />
- On the row of the table use the onCreate script method to add the XML to the report variable for each row in the table.<br />
<br />
- Insert a flash object into the report from the Flash Object Library, and select the Flash Maps/FCMap_USA.swf<br />
<br />
- In the properties view of the Flash Object just inserted, select the Flash variable tab.<br />
<br />
- Create a new flash variable. This variable will be passed to the SWF file and needs to be in the format specified by the object. For more details, see the FusionCharts documentation.<br />
<br />
- Prevent the table from being displayed in the report by setting the Advanced Property -> Section -> Display to No Display.<br />