c3js / c3js/c3

Error in flow after chart is destroyed

Open
#1,890 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.