O'Reilly logo

Learning jqPlot by Scott Gottreu

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

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