I can't share example code, but maybe I can help you in the right direction.
The chart refresh should be on the same page but one object deeper than the radio button. It could be that you need a non persistent helper object for this. The data source of the chart should be refreshed by the on change event that is configured in the radio button. If you do that, if you click on the radio button, it will refresh the chart.