Main.js updated to properly scale the chart.