fixed bar chart radio button issue