Thank you for your response. However I think my problem is slightly different . My apologies that I could not explain it better earlier.
The crosshair functionality works fine for me. When I click on a data point I do see the crosshairMovedToXValue function getting invoked and I can get the new x and y values .
I am trying to add a tool tip to this . that is when I click on a data point , I need the simple tooltip to be displayed for this data point that shows the x and y value.
In my code in the below function- crosshairMovedToXValue() this is what I do to display the tooltip but that isn't working .
******************************
SChartCrosshairTooltip *ttp = [[SChartCrosshairTooltip alloc] initWithFrame:CGRectMake(15, 10, 300, 20)];
chart.crosshair.tooltip = ttp;
*****************************
Is this the right way to display a simple tooltip when we invoke the individual data points using crosshair ?