Line Chart Display Error Fix

Fixed an error. If you inputed sample data and wanted to display a line
chart, a scatter plot appeard because there was a comma to much
generated