In storyboard connect switches to IBActions.
Implement IBActions for switches and hideAnnotation: Now switches hide and show bar graphs.