Create a contextmenu in sfchart column and I find out which was clicked with their properties
Hi Herbert,
Thanks for using Syncfusion products.
We have analyzed your query and you can get the Column segment in mouse down event by using the below code snippet.
Code Snippet [C#]:
private void ColumnSeries_MouseDown(object sender, MouseButtonEventArgs e)
{
FrameworkElement element = e.OriginalSource as FrameworkElement;
if (element != null && element.Tag is ChartSegment)
{
ColumnSegment segment = element.Tag as ColumnSegment;
}
}
We have prepared the sample based on your requirement. Please find the sample in the below location.
Sample: SelectionDemo.zip
Please let us know if you need any further assistence on this.
Regards,
M. Sheik
i really want to thank you! it resolved my problem
Have a nice week
Hi Herbert,
Thanks for the update.
Please let us know if you need any further assistance on this.
M.Sheik
- 4 Replies
- 2 Participants
-
HM Herbert Moroni Cavallari de Costa Gois
- Mar 13, 2015 08:58 PM UTC
- Mar 17, 2015 05:13 AM UTC