refactored parameters to chartFilterHandler to make more sense