O'Reilly logo

Web Development Recipes, 2nd Edition by Chris Johnson, Mike Weber, Chris Warren, Brian P. Hogan

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

Recipe 18Creating Charts and Graphs with Highcharts

Problem

Our sales team has developed an affiliate program for our company’s shopping site. We’ve been tasked with developing an interface for our affiliates, and we want to show their data in a visual and attractive way. However, we need to ensure that these charts are viewable on mobile devices as well as desktops.

Ingredients

  • jQuery

  • Highcharts[43]

  • QEDServer (for our test server)[44]

Solution

The Highcharts JavaScript library lets us easily create interactive and readable charts and graphs. It works across platforms, and since it runs on the client’s machine, it doesn’t require any special configuration on our servers. The interface built into Highcharts is highly interactive and customizable, ...

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