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 the cursor plugin, and we made our tooltip remain stationary as well as follow the cursor. We added cursor lines to pinpoint the location of the cursor. We also made the cursor plugin pass data to the legend instead of the tooltip. We added the highlighter plugin to only show data when a data point is selected.

Later, we experimented by highlighting a legend item when a data point was highlighted. We finished by animating a line chart and setting different animation speeds for a bar chart.

In the next chapter, we will look at OHLC and candlestick charts, which are used to display stock prices. We'll also make use of the highlighter plugin again.

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