Within FilterBox/FilterBox.jsx, there is a function called changeFilter(), which is attached to the dropdown UI as onChange event handler. When the filter box is changed, the function gets triggered. within the function body this.props.onChange is triggered. onChange is nothing but onAddFilter (mapping takes place in transformProps.js)
How does onAddFilter reached the FilterBox component ?
Container/DashboardComponent is the parent of gridComponent.
dashboard/container/Chart imports the addFilter Action.
gridComponents/chart pass down addFilter as a prop into chart/chart.jsx (thru container chart/chartContainer.jsx).
chart/chart/jsx calls chart/chartRenderer.
chartRenderer maps this.props.addFilter to this.handleFilter,further to onAddFilter and make it a chartProps.