How to customise the crosshair for line chart


I created Line chart if i do long press iam getting cross hair means iam getting x and y values  in the place of that   i need to generate the textview ,in that the user will enter some text and save.How to achieve that functionality???, and also i dont want to generate horizontal and vertical lines.


How to add annotations for line chart


Take a look in the API-Docs:
you can sublassing the Tooltip! :wink:



I created the subclass of schartcrosshairtooltip and i added textview and save button on the tooltip,but the click action is not recognising the save button,because chart is swallowing gestures.

I used the line chart.gesturePanType=SChartGesturePanTypeNone for overriding the gestures still its not working .Any ideas???