how to set filters dynamically to pivot chart

how to set filters dynamically to pivot chart

Hi, 
I've to generate pivot chart based on the value selected on the form. For example, After completing survey, I''ve to show survey report for that particular survey. 

For this I need to set filter value based on selected survey Id. Can I do it.
 
Thanks for the help,
Regards,
AppAdmin