Integrating-Chart-Js-in-Angular-7 icon indicating copy to clipboard operation
Integrating-Chart-Js-in-Angular-7 copied to clipboard

Error

Open KadeejaBai opened this issue 6 years ago • 1 comments

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."

KadeejaBai avatar May 08 '19 06:05 KadeejaBai

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.

sasansharifipour avatar Sep 21 '19 11:09 sasansharifipour