for (CPTPlotSpaceAnnotation *a in _masterPlot.annotations) {
[a.contentLayer setHidden:YES];
I would like to understand a bit more about plot space annotation class.
gp
--To view this discussion on the web visit https://groups.google.com/d/msg/coreplot-discuss/-/WXsbwlPE3moJ.
You received this message because you are subscribed to the Google Groups "coreplot-discuss" group.
To post to this group, send email to coreplot...@googlegroups.com.
To unsubscribe from this group, send email to coreplot-discu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/coreplot-discuss?hl=en.
Thank you for your reply. I'm going to follow it. But a question more arises: why this code does not do what i'm looking for?
for (CPTPlotSpaceAnnotation *a in _masterPlot.annotations) {
[a.contentLayer setHidden:YES];
I would like to understand a bit more about plot space annotation class.
gp
2012/5/11 Eric <esk...@mac.com>
No. Reload once to remove the labels and again to put them back.Eric
On Friday, May 11, 2012 11:08:53 AM UTC-4, Giampaolo Trapasso wrote:Hi to all,i would like to hide labels during an animation of a plot. I thought that I could use a flag "animationIsRunning" and use it in-(CPTLayer *)dataLabelForPlot:(CPTPlot *)plot recordIndex: (NSUInteger)indexto return labels when flag is false and return nil when flag is true, forcing a reload of data. Is there a different (may be more elegant) solutions?Thank you in advance.Giampaolo--To view this discussion on the web visit https://groups.google.com/d/msg/coreplot-discuss/-/WXsbwlPE3moJ.
You received this message because you are subscribed to the Google Groups "coreplot-discuss" group.
To post to this group, send email to coreplot-discuss@googlegroups.com.
To unsubscribe from this group, send email to coreplot-discuss+unsubscribe@googlegroups.com.