Closed stukennedy closed 8 years ago
there is a call to chart.destroy() which crashes the app when the <rg-chart> tag unmounts.
chart.destroy()
<rg-chart>
This is because the object passed to the loaded event handler is the wrong object, and should be the result of creating a chart, not just new Chart(ctx)
loaded
new Chart(ctx)
fixed in v3.3.2, thanks for the PR
there is a call to
chart.destroy()
which crashes the app when the<rg-chart>
tag unmounts.This is because the object passed to the
loaded
event handler is the wrong object, and should be the result of creating a chart, not justnew Chart(ctx)