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 web services.

The final recipes discuss the opposite, extracting the data from your application into a format that other programs can use.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.207.129