Initialize chart controls in a loop