In the next chapter we will look at charting. The built-in charting capabilities of Flex allow complex
data visualization and some dramatic effects.
193
FLEX VIDEO GALLERY WITH DRAG-AND-DROP
What we??™ll cover in this chapter:
Building charts
Animating charts
Customizing charts
Files used in this chapter:
FlexCharting-Base.zip
FlexCharting-Final.zip
You have two options when purchasing Flex Builder: the Standard edition or the
Professional edition. The Professional edition contains extra features such as charting
and visualization components, the profilers, and the Flex test automation framework.
You use the charting tools in Flex Builder to create dynamic and interactive charts
from a data set. This chapter explains how to build charts, connect them to data, animate
them, and customize them. To follow along, you need to have Flex Builder
Professional. You can download a trial of the Professional edition that will allow you
to experiment with charting for 30 days.
195
EXPLORING FLEX CHARTING
Chapter 10
To see how charting works, let??™s start with some data. In this case, we will be creating a grade book as
it is a data set that is easy to understand. The final product will use a DataGrid to show the raw data
and a series of three charts to display the data visually. The final project will look like Figure 10-1.
Figure 10-1. Our finished project will look like this.
Importing a project into Flex Builder
So that you can start working with charting right away, in the code download for this book at
www.
Pages:
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145