- Home
- Forum
- Xamarin.Forms
- Data Point Selection Event
Data Point Selection Event
Hi everyone
I want to now if I can handle the Data point selection event, I I have to show a popup with information when the column is selected, I am working with MVVM pattern and my views are on XAML
thanks for your help
SIGN IN To post a reply.
6 Replies
YP
Yuvaraj Palanisamy
Syncfusion Team
June 22, 2015 10:21 AM UTC
Hi Alexander,
Thanks for using Syncfusion products.
We request you to use the following code to get the notification when selection is changed in the MVVM pattern.
[C#]
|
public class CustomSelectionBehavior : ChartSelectionBehavior { protected override void OnSelectionChanged(ChartSelectionEventArgs arg) { base.OnSelectionChanged(arg); //create a popupwindow } } |
[XAML]
|
<chart:SfChart.ChartBehaviors> <local:CustomSelectionBehavior /> </chart:SfChart.ChartBehaviors> |
Please let us know if you need any further assistance on this.
Thanks,
Yuvaraj P
AL
Alexander
June 22, 2015 06:44 PM UTC
Hi Yuvaraj
thank you for all your help, works perfectly
see you soon
YP
Yuvaraj Palanisamy
Syncfusion Team
June 23, 2015 05:07 AM UTC
Hi Alexander,
Thanks for the update.
Please let us know if you need any further assistance on this.
Thanks,
Yuvaraj
Thanks for the update.
Please let us know if you need any further assistance on this.
Thanks,
Yuvaraj
Hi Alexander,
Thanks for the update.
Please let us know if you need any further assistance on this.
Thanks,
Yuvaraj
Hello every one,
Is there any possibility to have a sample where instead of prompting an Alert you Navigate to another Page ?
Thank you in Advance.
MA
Mohamed Aymen HADDAD
August 5, 2016 03:35 PM UTC
Hello every one,
Is there any possibility to have a sample where instead of prompting an Alert you Navigate to another Page ?
Thank you in Advance.
YP
Yuvaraj Palanisamy
Syncfusion Team
August 8, 2016 10:22 AM UTC
Hi Alexander,
We have prepared a sample as per your requirement using SelectionChanging event in SfChart. Please find the sample from the below location,
Thanks,
Yuvaraj
SIGN IN To post a reply.
- 6 Replies
- 3 Participants
-
AL Alexander
- Jun 19, 2015 09:37 PM UTC
- Aug 8, 2016 10:22 AM UTC