文档介绍:Table of Contents
HTML5 Graphing and Data Visualization Cookbook
Credits
About the Author
About the Reviewer
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
Errata
Piracy
Questions
1. Drawing Shapes in Canvas
Introduction
Graphics with 2D canvas
How to do it...
How it works...
There's more...
See also
Starting from basic shapes
Getting ready
How to do it...
How it works...
Layering rectangles to create the flag of Greece
Getting ready
How to do it...
How it works...
There's more...
BeginPath method and closePath method
Creating shapes using paths
Getting ready
How to do it...
How it works...
There's more...
plex shapes
Getting ready
How to do it...
How it works...
There's more...
Adding more vertices
Getting ready
How to do it...
How it works...
Overlapping shapes to create other shapes
Getting ready
How to do it...
How it works...
2. Advanced Drawing in Canvas
Introduction
Drawing arcs
Getting ready
How to do it...
How to do it...
Drawing curves with a control point
Getting ready
How to do it...
How it works...
Creating a Bezier curve
Getting ready
How to do it...
How it works...
Integrating images into our art
Getting ready
How to do it...
How it works...
There's more...
Scaling images
Adding even more control
Using images as a fill
Drawing with text
Getting ready
How to do it...
How it works...
There's more...
Using gradients in your text
Adding shadows and glows
Understanding pixel manipulation
Getting ready
How to do it...
How it works...
Making an image grayscale
Pixel reversing
3. Creating Cartesian-based Graphs
Introduction
Building a bar chart from scratch
Getting ready
How to do