This question is locked. New answers and comments are not allowed.
Hi,
Im using TKChart, i have done the line graph X-axis dates and y-axis integer values. But how i can show the graph data point values?
Im using below method.
- (void)chart:(TKChart *)chart didSelectPoint:(id<TKChartData>)point inSeries:(TKChartSeries *)series atIndex:(NSInteger)index
{
NSLog(@"A point tapped!");
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"" message:[NSString stringWithFormat:@"%@",[serverData objectAtIndex:index]] delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles: nil];
[alert show];
}
above method im showing 1 alert, but i don't want to alert. I want to shows the data points in label or any other way.
Thanks.