vendredi 11 septembre 2015

Objective-c Coreplot graph scrolling

I generated a scatterplot graph.My requirement is to swipe the graph part by part ie,if 10 columns of plot r shown on the screen,on the swipe the next 10 columns need to be shown.

-(BOOL)plotSpace:(CPTXYPlotSpace *)space shouldHandlePointingDeviceDraggedEvent:(id)event atPoint:(CGPoint)point{
 NSLog(@"point.x=%lf,point.y=%lf",point.x,point.y);
 return YES;
}

This gives the point dragged..how can i achieve my requirement with this method or is their any other way to figure it out?

Anybody please help...



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire