in search if group by, show chart first