Select Row to Refresh Chart

I would like to be able to select a row, then trigger a chart to refresh. Specifically in my case a pie chart to display graphically the information contained in the selected row. However, event handlers aren't able to trigger a chart component to refresh. The only option is to clear selected points.
image.
My current workaround is to have the event handler run a query instead.

Hey @val, This should be possible currently in Retool. Rather than triggering the chart component to refresh using an event handler, you should be able to input the select row of the table as the chart's 'Data source'. Here's an example of what that could look like:

That way, the chart will refresh when the selected row of the table changes. I hope that helps you get past your blocker :smile: