When unable to display chart, show appropriate error message.