fixed linechart zero-injection, closes #2102

@spenceralger this closes #2102 
shelby and I worked on the update, we needed to distinguish between numbers and dates to fix sorting of values. 
related to issue #1903 and pr #1968
Should also update the comments at the top of the file.