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