score:1

Accepted answer

since you are initialising chartoptions directly in the component class, the input title will not work.

you need to initialise the chartoptions in ngoninit lifecycle method. i have made a sample stackblitz to show this.

https://stackblitz.com/edit/highcharts-angular-basic-line-gaekp1?file=src%2fapp%2ftest.component.ts


Related Query

More Query from same tag