Lesson 18. Charting Data


What You Will Learn

In this lesson, you will:

  • Work with the pie, column, and line charts

  • Learn how to provide data to charts

  • Specify chart axes

  • Handle chart events

  • Animate charts when data is set

  • Apply styles to charts

Approximate Time

This lesson takes approximately 1 hour and 30 minutes to complete.

Lesson Files

Media Files:

Lesson18/assets/TypeChart.mxml

Lesson18/assets/ComparisonChart.mxml

Lesson18/assets/SalesChart.mxml

Starting Files:

Lesson18/start/Dashboard.mxml

Completed Files:

Lesson18/complete/Dashboard.mxml

Lesson18/complete/views/dashboard/ComparisonChart.mxml

Lesson18/complete/views/dashboard/SalesChart.mxml

Lesson18/complete/views/dashboard/TypeChart.mxml

Displaying data in a chart or graph can make data interpretation much easier for users of the applications you develop with the Adobe Flex 2 product line. Instead of presenting a simple table of numeric data, you can display a bar, pie, line, or other type of chart using colors, captions, and a two-dimensional representation of your data.

Data visualization enables you to present information in a way that simplifies data interpretation and data relationships. Charting is one type of data visualization in which you create two-dimensional representations of your data. Flex supports some of the most commons types of two-dimensional chartssuch as bar, column, and pie chartsand provides you with a great deal of control over the appearance of charts.

A simple chart shows a single data series, in which a series is a group of related data points. For example, a data series might be monthly sales revenues or daily occupancy rates for a hotel. The following chart shows a single data series that corresponds to sales over several months:

The Dashboard application shows rich interactive charts about the company's sales.




Adobe Flex 2.Training from the Source
Adobe Flex 2: Training from the Source
ISBN: 032142316X
EAN: 2147483647
Year: 2006
Pages: 225

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net