Fix Y-scale fot date in JS chart