You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are getting an error "ERROR Error: Canvas is already in use. Chart with ID '2' must be destroyed before the canvas can be reused." while **rebinding** the chart from API,
#21
We are getting an error "ERROR Error: Canvas is already in use. Chart with ID '2' must be destroyed before the canvas can be reused." while rebinding the chart from API,
we have used
ctx.clear(); and ctx.destroy()
method for clearing the canvas but getting errors while used
ERROR TypeError: ctx.destroy is not a functin
ERROR Error: Canvas is already in use. Chart with ID '2' must be destroyed before the canvas can be reused.
at new Chart (chart.esm.js:5354:1)
at new WordCloudChart (index.umd.js:747:1)
at EmployeeComponent.wordcloudChart (employee.component.ts:281:21)
at employee.component.ts:339:14
at Object.next (Subscriber.js:110:1)
at SafeSubscriber._next (Subscriber.js:60:1)
at SafeSubscriber.next (Subscriber.js:31:1)
at map.js:7:1
at OperatorSubscriber._next (OperatorSubscriber.js:9:1)
at OperatorSubscriber.next (Subscriber.js:31:1)
The text was updated successfully, but these errors were encountered:
We are getting an error "ERROR Error: Canvas is already in use. Chart with ID '2' must be destroyed before the canvas can be reused." while rebinding the chart from API,
we have used
ctx.clear(); and ctx.destroy()
method for clearing the canvas but getting errors while used
ERROR TypeError: ctx.destroy is not a functin
ERROR Error: Canvas is already in use. Chart with ID '2' must be destroyed before the canvas can be reused.
at new Chart (chart.esm.js:5354:1)
at new WordCloudChart (index.umd.js:747:1)
at EmployeeComponent.wordcloudChart (employee.component.ts:281:21)
at employee.component.ts:339:14
at Object.next (Subscriber.js:110:1)
at SafeSubscriber._next (Subscriber.js:60:1)
at SafeSubscriber.next (Subscriber.js:31:1)
at map.js:7:1
at OperatorSubscriber._next (OperatorSubscriber.js:9:1)
at OperatorSubscriber.next (Subscriber.js:31:1)
The text was updated successfully, but these errors were encountered: