Fixed a bug that made the line graph unexportable.