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 3, Bar Charts and Digging into Data

  1. If we wish to enable labels for all our series under seriesDefaults, we will add the pointLabels: { show: true } property. If we only want to do this for one series, we will find that element in our series array and set show to true under pointsLabels.
  2. To rotate your tick labels, you will need to enable canvasAxisTickRenderer in your plot. This plugin is dependent on canvasTextRenderer, so you will need to include this file as well.
  3. By setting shadowAlpha close to 1.0, the shadow on the bar will appear more like the side of the bar than a shadow. This gives the bar a three-dimensional look.
  4. By using a trend line, we demonstrated that revenue for a particular category was increasing or decreasing over time. ...

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