So far, we have created line charts and looked at various plugins to extend the functionality of our charts. Now, we will move on to OHLC and candlestick charts, which are used to visualize stock prices. We will also use several of the plugins we learned about in the last chapter to make our charts more interactive. In this chapter, we will cover the following topics:
Gaining an understanding of the parts and using OHLC and candlestick charts
Building an OHLC chart with last quarter's stock data and using the highlighter plugin to show all the data points
Building a candlestick chart with the last 14 days of data
Adding the cursor plugin to allow us to zoom in on a colored candlestick chart
Creating canvas overlay lines using dates and adding tooltips to the lines
Adding values to our remote data array, and then skipping some of those values when we create our tooltip