Chart now almost working