added error and text to charts