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.