Sending variables to a chart


I was wondering if is there any way to send different variables to the same chart.
I would like to use the same chart but to show different results depending of the variable that is receiving.


Assuming different no of charts it’s quite possible