add clicking to bar graphs
add clicking to line graphs