Book Image

Highcharts Essentials

By : Bilal Shahid
Book Image

Highcharts Essentials

By: Bilal Shahid

Overview of this book

Table of Contents (16 chapters)
Highcharts Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Polar charts with different series types


Each series in a polar chart can be given its individual series type. This enables us to combine different series types in a single polar chart.

Consider the following two series for the United States and China respectively, showing their fuel consumption by fuel type. The types are line and area respectively:

{
  name: 'U.S.',
  type: 'line',
  data: [819.9, 654, 437.4, 183.2, 63.2, 50.7]
}, {
  name: 'China',
  type: 'area',
  data: [483.7, 129.5, 1873.3, 22, 194.8, 31.9]
}

The chart now has three series with different series types. The polar chart produced after you introduce the preceding two series will be as follows: