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

Summary

We looked at a new chart type that is similar to a gauge on a car dashboard. We also used the redraw and replot methods to update this chart at intervals. We changed the time frame for our stock chart and updated the data source being used. We created our ticks option based on remote data and updated our chart using replot. We also used this same functionality to change the trend line displayed based on the selected value in our drop-down menu.

In the next chapter, we'll look at some of the styling options that can be set using CSS and other options that can only be set via JavaScript. We will also look at creating themes for jqPlot using JavaScript objects.

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