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

Integrating with Backbone

In addition to server-side micro frameworks, a number of client-side micro frameworks have also appeared. Many aim to provide a simple means to send data from end-to-end with a clear separation of concerns. In this recipe, we'll take a look at Backbone, specifically at integration of Backbone with its models (an abstraction of our interface with a backend) and collections (a means of managing multiple models).

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 backbone for our project, ...

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