chartOptions.redraw is not a function in highcharts using angular
问题 This is the html code <highcharts-chart *ngIf="!isLoading" [Highcharts]="Highcharts" [options]="chartOptions" [(update)]="updateChart" style="width: 100%; height: 100%; display: block;" ></highcharts-chart> enter code here This is the typescriptcode onTogglevolume() { this.chartOptions.series[2].visible = !this.chartOptions.series[2].visible; this.chartOptions = { ...this.chartOptions }; this.chartOptions.redraw(); } These are import statements import * as Highcharts from 'highcharts'; import