added missing lines from chart init routine left out during condensing