Cover image for ActionScript Graphing Cookbook.
ActionScript Graphing Cookbook.
Title:
ActionScript Graphing Cookbook.
Author:
Backx, Peter.
ISBN:
9781849693219
Personal Author:
Physical Description:
1 online resource (346 pages)
Contents:
ActionScript Graphing Cookbook -- Table of Contents -- ActionScript Graphing Cookbook -- Credits -- About the Authors -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Downloading the color images of this book -- Errata -- Piracy -- Questions -- 1. Getting Started with Graph Drawing -- Introduction -- Drawing in two dimensions -- Getting ready -- How to do it... -- How it works... -- There's more... -- Graphics drawing -- Coordinate systems and transformations -- See also -- Building point charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Coordinate system -- Scaling woes -- Adding more parameters -- See also -- Creating a line graph based on a function -- Getting ready -- How to do it... -- How it works... -- There's more... -- Improving the Graph class -- Using points to draw functions -- Curves -- See also -- Adding labels and axes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Vertical axis -- Screen versus graph coordinates -- Error checking and adding parameters -- Graphing a spreadsheet -- Getting ready -- How to do it... -- How it works... -- There's more... -- Two arrays -- Associative array -- Vectors -- Associative array to two-dimensional array conversion -- See also -- Area charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Having the color as a parameter -- The fill style -- See also -- Multiple area charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Improving the interface -- Styling the fill -- Styling a graph.

Getting ready -- How to do it... -- How it works... -- There's more... -- Transformation -- Gradient lines and points, bitmap areas -- See also -- Adding legends -- Getting ready -- How to do it... -- How it works... -- There's more... -- TextField customization -- A background -- See also -- Using Flex for charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Flex without MXML -- ActionScript in Flex -- See also -- 2. Working with Data -- Introduction -- Preparing your data -- Getting ready -- How to do it... -- How it works... -- There's more... -- Databases -- Embedding CSV files -- Getting ready -- How to do it... -- How it works... -- There's more... -- CSV parsing -- See also -- Loading a data file from the Internet -- Getting ready -- How to do it... -- How it works... -- There's more... -- Other events -- Relative URL -- Security and cross-domain policies -- See also -- Loading a file from the local hard drive -- Getting ready -- How to do it... -- How it works... -- There's more... -- Cancel file browsing -- See also -- Loading data with XML -- Getting ready -- How to do it... -- How it works... -- There's more... -- Loading from other sources -- Different XML structures -- Loading data from Excel files -- Getting ready -- How to do it... -- How it works... -- There's more... -- as3xls -- See also -- Consuming the REST services -- Getting ready -- How to do it... -- How it works... -- There's more... -- More web APIs -- Using SOAP services -- Exporting data as CSV to import in Excel -- Getting ready -- How to do it... -- How it works... -- There's more... -- Semicolon or comma -- CSV header -- Exporting data to a PDF file -- Getting ready -- How to do it... -- How it works... -- There's more... -- Headers and footers -- Adding images -- See also -- 3. Creating Bar Charts -- Introduction.

Drawing a bar chart with Flex -- Getting ready -- How to do it... -- How it works... -- There's more... -- Showing data tips -- Displaying vertical bars -- Adding more bars -- See also -- Building vertical bar charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Styling -- Interactivity -- Accommodating a wider data range -- See also -- Creating comparison bar charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding a legend -- See also -- Drawing histograms -- Getting ready -- How to do it... -- How it works... -- There's more... -- Data range -- So many bars -- See also -- Creating sparklines to enrich text content -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding the area under the line -- Averaging the data -- Making 3D bar charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using gradient -- Using a real 3D engine -- See also -- 4. Drawing Different Types of Graphs -- Introduction -- Drawing a pie chart with Flex -- Getting ready -- How to do it... -- How it works... -- There's more... -- Bevel or not -- See also -- Creating donut charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Labels -- Donut chart as a pie chart -- See also -- Drawing meters and gauges -- Getting ready -- How to do it... -- How it works... -- There's more... -- Animation -- Using the Flash IDE -- See also -- Making Venn diagrams -- Getting ready -- How to do it... -- How it works... -- There's more... -- Interactivity -- More sets -- Building pyramid charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Getters and setters -- 3D! -- See also -- Drawing bubble charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Interactivity -- Legends -- See also.

Creating tag clouds -- Getting ready -- How to do it... -- How it works... -- There's more... -- Modifying the alpha -- Using embedded fonts -- Creating a treemap -- Getting ready -- How to do it... -- How it works... -- There's more... -- Representing small values -- Using a tree as data -- See also -- 5. Adding Interaction -- Introduction -- Zooming and panning around a graph -- Getting ready -- How to do it... -- How it works... -- There's more... -- Cleaning up the code -- Using the mousewheel -- Centering on zoom -- Fix axes -- Sending data updates to the graph -- Getting ready -- How to do it... -- How it works... -- There's more... -- Scrolling data -- Random access -- Undo -- Dispatching and listening for events -- Making the points interactive: Hovering -- Getting ready -- How to do it... -- How it works... -- There's more... -- Attaching data to points -- Better display -- Selecting data points in the graph -- Getting ready -- How to do it... -- How it works... -- There's more... -- Selection by clicking -- Drawing selected items -- Adding to and removing from a selection -- A dynamic graph based on an editable table -- Getting ready -- How to do it... -- How it works... -- There's more... -- Data validation -- Zoom/pan on entry -- Dragging data points to new values -- Getting ready -- How to do it... -- How it works... -- There's more... -- Processing the new location -- More freedom -- Adding and removing points -- Linking graphs -- Getting ready -- How to do it... -- How it works... -- There's more... -- Multiple data sets -- Animation -- 6. Mapping Geographical and Spatial Data -- Introduction -- Showing a map using the openscales.org API -- Getting ready -- How to do it... -- How it works... -- There's more... -- Custom controls -- Using different maps -- Adding points of interest to a map -- Getting ready -- How to do it...

How it works... -- There's more... -- Changing the marker -- A URL for image -- Making the marker interactive -- Parsing data to use as region fill -- Getting ready -- How to do it... -- How it works... -- There's more... -- Checking for errors -- See also -- Coloring a map -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using different countries -- Using another color range -- See also -- Adding multiple layers to a map -- Getting ready -- How to do it... -- How it works... -- There's more... -- Making your own LayerManager control -- Animating turning on/off layers -- Overlaying a heat map -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using more precise data -- Starting from blue -- 7. Animating a Graph -- Introduction -- Animating between two data sets -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using TweenLite -- See also -- Animating a meter -- Getting ready -- How to do it... -- How it works... -- There's more... -- Visualizing easing functions -- See also -- Automatic updates -- Getting ready -- How to do it... -- How it works... -- There's more... -- Horizontal axis -- See also -- Zooming in on a specific data set -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding a back button -- Reverse animation -- See also -- Animating subway locations -- Getting ready -- How to do it... -- How it works... -- There's more... -- Collisions -- Playing the sounds -- See also -- 8. Creating a Relational Network -- Introduction -- Preparing the data -- Getting ready -- How to do it... -- How it works... -- There's more... -- Links for more theory -- See also -- Creating the visual for a node -- Getting ready -- How to do it... -- How it works... -- There's more... -- Styling -- Arranging and linking the nodes -- Getting ready.

How to do it...
Abstract:
Step-by-step instructions guide you from your very first graphical program to highly complex 3D presentations. Although a few recipes explain charts in Flex, this book is firmly focussed on using ActionScript code and data to draw graphs. The "ActionScript Graphing Cookbook" is aimed at any ActionScript developer who wants to add data visualization to their skill set. The reader should be familiar with ActionScript basics, but no deep knowledge of any graphical functions is required.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Added Author:
Electronic Access:
Click to View
Holds: Copies: