added graphing error when no data.