Fix answer deletion of sort contents and empty chart initialization
Cleanup chart correctly when answers have been deleted. Also initialize chart correctly if empty so that the chart line is displayed.
Closes #1113 (closed)
Cleanup chart correctly when answers have been deleted. Also initialize chart correctly if empty so that the chart line is displayed.
Closes #1113 (closed)