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 11, Bringing it All Together

  1. We used drawImage, which is part of the getContext method available in the HTML canvas element.
  2. We can use a plugin that will move the container divs off the screen. We can also hide or show the slides using animations so that they appear to fade in and out. If we change options of our chart while it is hidden, we will need to run replot after the plot is shown.
  3. It inherits from the line renderer.
  4. We created our tooltip div within the preInit method.
  5. We used a query string value to determine which division's data to render.
  6. We could create a line from the middle of the donut to the highlighted wedge using the canvas elements and include the tooltip data in the middle. We could create a method to determine the best ...

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