I'm trying to run some code when the user clicks (or touches) a plotSymbol on mye graph created with Core Plot.
This does not work with scatterPlot:
-(void)scatterPlot:(CPScatterPlot *)plot plotSymbolWasSelectedAtRecordIndex: (NSUInteger)index
{
NSLog(@"plotSymbolWasSelectedAtRecordIndex %d", index);
}
But this works well when I use the barPlot:
-(void)barPlot:(CPBarPlot *)plot barWasSelectedAtRecordIndex:(NSUInteger)index
{
NSLog(@"barWasSelectedAtRecordIndex %d", index);
}
What's missing from my attempt to capture when the user clicks or touches on my scatterPlot?