Error in flow after chart is destroyed
Open
C-bug
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
If chart.destroy() is called while a chart.flow transition is still in progress, it throws an error:
`c3.js:1779 Uncaught TypeError: Cannot read property 'max' of null
at ChartInternal.c3_chart_internal_fn.getMaxDataCount
at Chart.c3_chart_fn.flow
c3_chart_internal_fn.getMaxDataCount @ c3.js:1779
c3_chart_fn.flow @ c3.js:6344
Contributor guide
Assessment
This issue has not been assessed yet.