chartjs-plugin-datasource
chartjs-plugin-datasource copied to clipboard
New/empty line in csv brakes timeline
Hi, Can you implement some trimming/sanitization of the csv - so the empty line won't crash chart? When last line has '\n' on the end this produces empty data and charts start from beginning of the timescale.
Hi, same problem here. With newline at the end of csv, the scale always start at 1970 Removing the newline at the end of csv file solve the issue. Could you correct this?
Workaround : defining ticks: { min: solve the issue as we can choose the starting point of the chart.