Integrating-Chart-Js-in-Angular-7
                                
                                 Integrating-Chart-Js-in-Angular-7 copied to clipboard
                                
                                    Integrating-Chart-Js-in-Angular-7 copied to clipboard
                            
                            
                            
                        Error
I'm running to this error whats the issue can you please help ?? "Failed to create chart: can't acquire context from the given item."
I'm running to this error whats the issue can you please help ?? "Failed to create chart: can't acquire context from the given item."
Hi,
Please edit the file app.component.ts and change the ngOnInit() to ngAfterViewInit().
The error will goes away.