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

Appendix A. Answers

Chapter 1, Getting Started

  1. The first part is composed of two pieces: the x and y axes. The other two parts are the grid and the ticks.
  2. We can create one object and store it in a variable, and we can use a jQuery selector to create another.
  3. In the data series, we set yaxis to y2axis.
  4. The first two options are outsideGrid and insideGrid. Both of these will place the legend within the plot object. The outside option will place the legend outside the object. With this option, the legend may overlap other elements on the page.
  5. The four main styles are circle, diamond, square, and x. The other three options are the filled in versions of circle, diamond, and square.
  6. We will use $%'d. The dollar sign is literal and the apostrophe tells jqPlot ...

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