Dashboard Readme

Run Dashboard

The Dashboard application shows the power of the Adobe® Flex 2 framework in presenting information to the user. The chart on the left shows total revenue across all regions on a monthly places. When you click a data point in this chart, Flex updates the chart in the upper-right panel; that chart provides a breakdown of the contributions from each region for the given month. If you select a region in the breakdown of contributions, Flex updates the chart in the lower-right panel, which shows that individual region's revenue compared to the average for the given time period.

Flex framework features

You use charts to show data, and use the Flex components' effects to help highlight the user's action as they drill down into that data. For example, you can use a DataGrid component to show an alternate view of that same data. You can use a ViewStack component to show either the Chart or the DataGrid, and you can use a ToggleButtonBar component to control which view you see. In the Dashboard application, you can also see one of the techniques for creating a template component. The RevenueTimeline creates a slot for a Chart, and then the subclasses of that component (AllRegions and RegionDetail) instantiate the chart that is displayed.

This application is keyboard and screen reader accessible. If accessibility is turned on, there are additional features to ensure the screen reader will read everything correctly, and all interactions can be done without a mouse. For example, when a DataGrid has focus, its columns can be sorted by pressing the corresponding column number (e.g. "1" for the first column, "2" for the second column, etc.). In the accessible version, the slider that is used to select the date range is replaced with two ComboBoxes, one for the start, and one for the end, which are fully accessible and easier to use with a screen reader.

Notes for Adobe® Flex Builder 2

To run this application with accessibility enabled select Project > Properties. Select the Flex Compiler page and check "Generate accessible SWF file."

The "run" links in this Readme file point to an HTML wrapper that is located in the same directory as the Readme, which in turn must be in the same directory as the compiled SWF file. If you are running this application in Flex Builder, the compiled SWF file and its matching HTML wrapper may be in the bin directory.

Notes for Adobe® Flex SDK

The build script for the Dashboard application assumes that you run the application from the local file system (file:/// in your browser). If you plan to run the application from a web server (http:// in your browser), change the -use-network setting in the build script to true. To compile with accessibility, add -accessible=true in the options .

Run Dashboard