There is an option for conditional show on the layout tab of the chart properties.
You could use it to show the appropriate chart depending on the expression result, i.e. when the user make a particular selection, the variable gets an appropriate value, etc.
If the requirement is just a click response, you could place a transparent text object on top of your charts with action that triggers the variable. Then use the variable in show condition expression of your charts.