Hi
Getting error of Cannot read property 'loading' of undefined on "this.chart.showLoading('message....') "method in angular10 ...the moment I enable and disable the chart from checkbox I'm getting spam of this error "Cannot read property 'loading' of undefined"
i've requirements to enable to disable the the chart so while enabling we call an api to fetch data as the api is in ending state we show the loading message in chart using this "this.chart.showLoading('message....') " but the moment when i enable and disable it on the same time i'm getting an error ..please guide me to resolve this error