Made the chart not appear until category selected