fixed chart.js script in view to show date on x-axis
updated program to export labels for output data