Once a year, people work to come up with a list of things to change for the new year—new year's resolutions. Losing weight is a new year's resolution that comes up quite often, and an important part of losing weight (or making progress in just about anything) is weight measurement. In this recipe, we will see how we can track our weight, or just about any measurable quality, on a regular basis.
To set up a basic page and install jQuery and Highcharts, refer to the instructions in the Getting ready section of the Creating your first chart recipe in Chapter 1, Getting Started with Highcharts.
We will also need to include underscore
by adding it to our dependencies in bower.js
, as shown in the following code:
{
"name": "highcharts-cookbook-chapter-12",
"dependencies": {
"jquery": "~1.9",
"highcharts": "~3.0",
"underscore": "~1.6.0"
}
}
Next, we need to install our dependencies using the following command:
bower install
We will...