Bug: legend is not removed if chart is destroyed

The legend element is not removed when destroying a chart. Especially ugly when updating a chart + the labels changes (labels will be drawn upon each other).