So do you want to filter only on open or closed bugs? Is that the subset of data you'd like to see?
My chart will be Open vs Closed over a period of 5 years. But I want to display the chart for last 2 months. So my chart will be sub-set of actual chart of 5 years. Hope this helps.