Install via NPM
One of the ways of adding the Highcharts Dashboards to your web page is via npm script. You can get all Dashboards functionality in the package, which can be installed using the following script:
npm install @highcharts/dashboards
Then import the package in your project:
import * as Dashboards from '@highcharts/dashboards';
Include Dashboards by script tag
<head> section of your web page as shown below.
Load files from your domain
Load additional modules
There are some additional modules that you might want to include in your webpage that are not included in the basic
dashboards.js module. The basic module lets you create the elementary dashboard with
HTMLComponents, but if you would like to use some predefined component types, you need to add the necessary modules. E.g. to use a Highcharts component, you need to add the following scripts:
Now you are ready to use Dashboards. Check out Your first Dashboard to get started.