Top N stacked bar graph does not filter the values based on additional filter
here is an example.
I have 3 countries. Each country has some regions. Each region has temperatures for each month.
I want to show the stacked graph to show the TOP5 regions with highest temperatures for last 6 months
As we know topN pulls whole data, sorts to find top N and simply shows the values for those categories ( regions) over 6 month period.
Now,I want to apply the filter of countries. I want the TopN to look for the data from only selected countries, apply the Top5 logic only for temperatures for regions from selected countries and replot.