Show error messages when unable to display chart