O'Reilly logo

Highcharts Cookbook by Nicholas Terwoord

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

Using AngularJS data bindings and controllers

Interactivity, especially responsiveness, in web applications has become very important. One important concept to fostering further responsiveness is the idea of two-way binding, where changes made to a model or a view are automatically made to the other or vice versa. This recipe looks at how we can leverage data bindings in AngularJS and integrate them with Highcharts.

Getting ready

To set up a basic page and install jQuery and Highcharts, refer to the Getting ready section of the Creating your first chart recipe from Chapter 1, Getting Started with Highcharts.

We will, however, need to make some small changes as shown in the following steps:

  1. Create a folder angularjs for our project, and set up a basic ...

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