kaiserfarrell / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Hide plot with touch event #554

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I whould like to make a graph in Core Plot with a "switch" to each 
(Scatter)plot (like the image in attach).

The objective is, when the user tap the "switch" (it could be through a legend) 
the associated plot hide or show and the switch turns off or on. For example, I 
have a graph with 5 Scatterplot's and a "switch" to each plot. When I tap the 
"switch 1" the "plot1" is hidden or show and the switch turns off or on.

I think there is no way to do this yet.

Original issue reported on code.google.com by david.be...@gmail.com on 25 Jul 2013 at 8:24

Attachments:

GoogleCodeExporter commented 8 years ago
I added delegate methods to CPTLegend that notify the delegate when the user 
touches a legend entry (see issue 444). The delegate can show or hide plots in 
response to this message.

Original comment by eskr...@mac.com on 27 Jul 2013 at 7:20