Bar chart with filter option

I am creating a bar chart where I have products name on x-axis and corresponding to every product I have multiple Y values means multiple bars. I need to filter my chart based on product selected.    Does mendix have any bar chart with filtering option in build? 
2 answers

See for information about the configuration for charts. 


Don't think there is an out of the box solution for this built in. What i should do: 

- Use the chart widget and use a microflow as datasource

- The datasource microflow retries the data.

- Create the filter buttons yourself.

- each filter button should have a microflow attached which adds the filter and refreshes the dataview around the chart widget. 


Could a nanoflow be used here also for filtering the local result set?