Added tap to toggle visibility of legend on log graph