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 6, Spice Up Your Charts with Animation, Tooltips, and Highlighting

  1. The hierarchy begins with rendererOptions followed by the animation property. Within the animation property, we set the speed attribute.
  2. Under the cursor option, we must set showVerticalLine to true in order for the cursor to display values in the legend.
  3. The tooltip can be placed in the eight compass directions of n, ne, e, se, s, sw, w, and nw. In conjunction with the directional placements, the cursor can remain static in the specified location or it can follow the cursor.
  4. You can set tooltipAxes to x, y, xy, both (which is an alias for xy), or yx. This option determines which values are used and in what order they are passed to the highlighter plugin.

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