Accepted answer

All you need to do is to install the highcharts-regression package, then import it and initialize it with highcharts (as you did with the exporting module).

import { Component } from "@angular/core";
import * as Highcharts from 'highcharts';

declare function require(name:string);
const HC_Regression = require('highcharts-regression');

Live demo:

Related Query

More Query from same tag