score:1
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');
HC_Regression(Highcharts);
...
Live demo:
https://stackblitz.com/edit/highcharts-angular-highcharts-regression?file=src/app/app.component.ts
Source: stackoverflow.com
Related Query
- How to use Highcharts regression plugin to plot a trend line using angular 8 wrapper
- How to include highcharts motion plugin for bubble plot using R wrapper?
- How do I plot the x axis line using Highcharts when pegged at 0?
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- How to use trellis chart with stacked column in Angular 10 using Highcharts
- How to use highcharts with angular 5?
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- How do I use an Highcharts Solid Gauge in angular 6 with typescript?
- How to plot line in highcharts on charts click event?
- Drawing a regression line in Highcharts using mx + b
- How to set 'lang' property in Highcharts using Angular JS?
- How to use HighCharts to plot aggregate hourly event rates?
- How to get a cubical plot using highcharts 3D scatter chart?
- Highcharts - How to plot a X axis line on my bell curve (Standard Deviation Curve)
- how to use highcharts tooltip formatter in python code
- How do I use dates from a LinkedHashMap for the x-axis on a Highcharts line graph (using Thymeleaf)?
- How to add vertical (and horizontal) line in highcharts scatter plot
- Using a plot line comparator in Highcharts
- how to render multiple line charts - highcharts on same page using highcharts react wrapper - highcharts-react-offical
- How to make the regression line through the origin in highcharts
- How to implement similar line chart using the Highcharts library?
- How to remove plot gridlines using Highcharts in R
- How to create charts like below using highcharts in angular
- How to show unique name of every points in highCharts using angular
- Parsing JSON for use with Highcharts using jquery .parseJSON or JSON.parse: how to remove quotes from function calls for formatters?
- How to convert long string into CSV using the export-csv plugin for HighCharts
- How to use ajax call to populate line graph in highcharts
- How to draw a Horizontal line using Highcharts DotNet C#
- How to render a chart using highstocks in highcharts in angular 6?
- How to add 3d Highcharts - Countour plugin in angular 8. Tried Multiple ways but still getting error
More Query from same tag
- Highcharts: what is the difference between event.target and event.currentTarget
- Use High-charts, Open Flash Chart 2, Google Charts or what else !
- Decide which serie goes into range-selector highstock
- Set Bootstrap Panel Size 100% + Highcharts content
- How to create Stacked and Grouped column graph in an inner drilldown?
- Highcharts not rotating to vertical in angular
- Highcharts xAxis multiple colors
- How to apply custom color on candlesticks based on OPEN/CLOSE values?
- How To Show Tooltip In Sparkline Chart From Code
- Highchart Donut and Bar Chart
- How to convert an object array DataTable recognizes to something Highcharts recognizes?
- Javascript variable not working inside of highcharts
- Can we show the text in bar of timeline chart?
- Highchart Add text after value tooltip
- Highcharts Grouped stack x.axis name + category name
- Pie Chart Custom Legend
- Highcharts change chart type on drop down Jquery
- Highcharts hide not active series from legend when taking screenshot
- Converting double?[ ] to object[ ] in c#
- highcharts : set title on exporting
- Highcharts: how to dynamically update text inside of the label?
- How to add an arrow reprents inscrease
- Highcharts multi-color line
- About HighCharts
- Highcharts donut pie/legends position
- Inconsistent columns width issue in highcharts
- How to display grid line on top of highchart
- Updating a point in a line chart when data grouping is in effect
- Highstock: animate chart update when scrollbar is dragged or navigator handle is released
- Highstock chart rangeSelector minute and day doesn't work