barra de coreplot não funciona
Eu baixei este código do Github:https://github.com/gilthonweapps/CorePlotBarChartExample .Como obter onTap para bar selecionado? Estou usando o seguinte código:
#pragma mark - CPTBarPlotDelegate methods
-(void)barPlot:(CPTBarPlot *)plot barWasSelectedAtRecordIndex:(NSUInteger)index {
NSLog(@"barWasSelectedAtRecordIndex %d", index);
}
Mas isso não está funcionando (não está reconhecendo o Tap) .Por favor, ajude. Obrigado antecipadamente e feliz ano novo.