Prints chart and handles invalid result exception