Fix saving of function curve graphs

Refs #9970