Changed chart handler to read history points from file