on applying Loops to axisTickGroup and axisLabelGroup