We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

IsSelected Scatter Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

94375 May 10,2010 12:22 PM May 24,2010 05:53 AM WPF 4
loading
Tags: Chart
W Dexter
Asked On May 10, 2010 12:22 PM

I am attempting to create a scatter chart and highlight one of the points. The link below is similar to what I want but I can't seem to be able to adjust it for what I need to do.

A requirement is that I should be able to select a point on the chart, not by clicking on it but by through some external event.

I have assigned my collection to the DataSource property of the series. I need to programatically select one of these when the event occurs and allow the DataTemplate for ChartSeries.Template to decide how to display.

I have setup my DataTemplate in the same way as it is set in the linked example and have set the SelectedItem property on the series.

My understanding is that the DataContext of the template is a ChartSymbolSegment and becuase I have set the SelectedItem on the series I should be able to use the IsSelected property in my DataTemplate.

The IsSelected value is always false. Is this correct? Do you have any examples of selecting points in a scatter chart using the IsSelected property?

Thank you

Poorani Idhaya Bala M.A [Syncfusion]
Replied On May 13, 2010 12:40 PM

Hi,

Thanks for choosing Syncfusion Products.

Sorry for the delaying update. I am working on your requirement. I will update you the sample by tomorrow.

Thanks,
Poorani

Sujitha S [Syncfusion]
Replied On May 19, 2010 02:43 AM

Hi

Thanks for choosing Syncfusion product.

Your requirement can be achieved by adding a SeriesAnnotation template to the segment on MouseOver event.

Please find the attached sample.

Let me know, If you have any queries.

Regards
Sujitha S



FastChart_2d84c460.zip

W Dexter
Replied On May 21, 2010 01:36 PM

Thank you.

The solution using SeriesAnnotaion does the job.

Poorani Idhaya Bala M.A [Syncfusion]
Replied On May 24, 2010 05:53 AM

Hi ,

Thanks for your update. I am glad to hear that your problem has been resolved. Please do not hesitate to open a new support forum if you ever need further assistance from us.

Let me know if you have any questions.

Thanks,
Poorani

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;