I\'ve got some code that will generate a barchart for me and display the data as such. What I\'m trying to now add is a button which will let the user switch between a barch