O'Reilly logo

ActionScript Graphing Cookbook by Peter Backx, Dominic Gélineau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Working with Data

In this chapter, we will cover:

  • Preparing your data
  • Embedding CSV files
  • Loading a data file from the Internet
  • Loading a file from the local hard drive
  • Loading data with XML
  • Loading data with Excel files
  • Consuming the REST services
  • Exporting data as CSV to import in Excel
  • Exporting data to a PDF file

Introduction

In the previous chapter we looked at the basics of graph drawing. We investigated the different ActionScript features that allow us to draw graphs of various shapes and sizes. We also looked at how to structure the data to easily create graphical representations.

In this chapter, we are going to investigate how to get that data into your program. Various sources will be discussed. These range from plain files to remote ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required