Instead of selecting "groupings" in the options menu above the graph, move that functionality to the graph itself. That is, when you update the graph all "grouping" options are selected but the legend becomes interactive so you can deselect certain options.