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

In the previous chapters, we learned how to create line charts and area charts. In this chapter, we will turn our attention to bar charts. We'll look at different options to format our axes and ticks. After mastering bar charts, we will create event handlers for various jqPlot events. With these event handlers, we will extend the functionality of our charts. In this chapter, we will specifically learn the following topics:

  • Build a basic chart based on return options for products
  • Add additional data points and style our chart to work with the increasing data
  • Create a bar chart showing multiple data series
  • Add a trend line to our chart with multiple data series to see how they are trending
  • Add an event handler ...

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