For this tutorial, we will be using Quandl to fetch the historical stock data and
highcharts to display the data. I chose the WIKI data set because it was free and
very simple to use.
The first thing we need to do is create an html file to link to the javascript libraries we will be using.
I also linked to a stylesheet which I named stock.css.
Now that we have the basics set up, lets create a form that allows our application
to accept user input.
Notice that I linked to a javascript file named stock.js. In your stock.js file,
add the below code. Notice that the setup function simply fetches the data
and formats it.
Now that we have our data formatted properly for highcharts charting library, lets
add the proper code to create the stock charts. But before we add the charting functionality,
we need to create our stock.css file.
Okay, the width and height of the chart are now setup, now lets add the code to
generate the graph.
That’s all she wrote. Open it up in the browser and check it out!