After removing an annotation the chart throws errors #7677
Closed
Labels
Comments
morganfree
added a commit
that referenced
this issue
Jan 16, 2018
TorsteinHonsi
added a commit
that referenced
this issue
Jan 23, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actual behaviour
After chart.removeAnnotation() the chart throws the error:
Uncaught TypeError: Array.prototype.forEach called on null or undefined
Live demo with steps to reproduce
http://jsfiddle.net/5L7ta5fb/
Product version
All products 6+
An annotation is not destroyed correctly -
chart.labelsCollectors
still runs the removed annotation's label collector - the collector refers to removed props.The text was updated successfully, but these errors were encountered: