Xamarin andorid click on specific point in Spline area Graph.

Hello. I was looking the Syncfusion Components mobile app and I found the possibility in a SplineAres Graph to click and display the specific value of that point. I attached also a zip file with a printscreen about what I mean. How can I do it, and how can I keep the value on screen longer?

Thank you very much.

Attachment: Screenshot_20180502114441_6adeb648.zip

3 Replies

DV Divya Venkatesan Syncfusion Team May 2, 2018 12:02 PM UTC

Hi Konstantinos, 
 
Thanks for contacting Syncfusion support. 
 
Query 1: and I found the possibility in a SplineAres Graph to click and display the specific value of that point. I attached also a zip file with a printscreen about what I mean. How can I do it  
Your requirement to display the specific value of point on click can be achieved by enabling Tooltip as shown in the below code snippet. 
 
Code snippet [C#]: 
series.TooltipEnabled = true; 
 
Query 2: how can I keep the value on screen longer? 
You can set the Duration property of toolip as you required. Please refer the below code snippet. 
 
Code snippet [C#]: 
ChartTooltipBehavior tooltip = new ChartTooltipBehavior(); 
tooltip.Duration = 3600; 
chart.Behaviors.Add(tooltip); 
 
You can refer the following user guide link to know more about tooltip. 
 
Please let us know if you need any further assistance. 
 
Regards, 
Divya Venkatesan 
 



KE Konstantinos Evangelidis May 2, 2018 01:31 PM UTC

Thank you very much. Works


DV Divya Venkatesan Syncfusion Team May 3, 2018 08:37 AM UTC

Hi Konstantinos,

Thanks for the update. We are glad to know that the given solution works.

Please let us know if you need any further assistance.

Regards,
Divya Venkatesan



Loader.
Up arrow icon