Fix bug 1638: Give warning when removing unexisting chart

No match.