Move chart init to a fps meter method