Book Image

Learning jqPlot

By : Scott Gottreu
Book Image

Learning jqPlot

By: Scott Gottreu

Overview of this book

Table of Contents (19 chapters)
Learning jqPlot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8, Bubble Charts, Block Plots, and Waterfalls


  1. We will set varyBarColor to true to have each bar colored differently.

  2. We pass in a second y value, which is used to calculate the radius of our bubble. The fourth value in our data array is either a label or an object containing the label and an optional color.

  3. For the formatString option, we need to set the value to %'.2f so that our chart will display the number to two decimal places.

  4. These two charts are similar to scatterplots.

  5. We used the Enhanced Legend plugin to turn off the series in our block plot.

  6. We can show how each division contributes to the overall revenue. We can also show the interaction of inventory buying against the budget along with the costs of the various product loss categories.