Stacked Bar in Chart

Is it possible to click on the stacked bar one of the color to switch to another stacked bar chart?
I have compressor which is violet color in the image i have upload. what i have to do is, i when i click that color I need to go sub folder of compressor and show the value in another stacked bar chart.

please any one help me out on this.