when grid.circular, should use Math.min to check if use plotHeight or plotWidth to calculate radius