Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Highcharts Environment Configuration

Highcharts Environment Configuration

In this chapter, we will introduce how to use Highcharts in a web page.

This tutorial uses Highcharts together with jQuery, so the jQuery library must be loaded before loading Highcharts.

If you are not familiar with jQuery, you can refer to ourjQuery tutorial。


Install jQuery

jQuery can be installed in the following two ways:

Using the download method

Using the download method, include the jQuery code in the HTML page:





   



Using a CDN (recommended)

Use the Staticfile CDN static resource library to load the jQuery library:





   




Install Highcharts

Highcharts can be installed in the following two ways:

Using the download method (recommended)

Using the download method, include the Highcharts code in the HTML page:





   



Using a CDN

Use the officially provided CDN address: