Reduce size of chart with query