This is a migrated thread and some comments may be shown as answers.

Chart Area Click

7 Answers 151 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Simeon
Top achievements
Rank 1
Simeon asked on 12 Mar 2010, 11:27 AM
Hi we have just upgraded our software to work using the 2010 q1 release.  We used to use the item click of the chart area to get the object in our datasource from the ChartItemClickEventArgs.DataPoint.DataItem this let us update another part of the page with additional data from the mouse click.  Now when the event is raised the dataitem is null.  Any pointers to how this should be done in the 2010 release?

Cheers,

7 Answers, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 14 Mar 2010, 10:54 AM
Hello James Nelson,

Do you by any chance have a large data source for the chart you are displaying? By deault if it is more than 200 items RadChart will sample the data and this may cause individual dataitems to be lost. To disable sampling try RadChart.SamplingSettings.SamplingThreshold = 0.

If that doesn't help please give us more details. You might have found a bug in which case we would really like to get to the bottom of it and fix it. Sending in a project will help a lot. Thanks for your cooperation.

All the best,
Vladimir Milev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Julien Lofficial
Top achievements
Rank 1
answered on 15 Mar 2010, 09:04 AM
Hello,

I have also a question concerning the ChartArea Click. It seems to be disabled when the zoom feature is enabled.

Is there a way to make them work together?

Thank you,

Julien
0
Vladimir Milev
Telerik team
answered on 18 Mar 2010, 08:48 AM
Hi Julien Lofficial,

We are aware of this limitation. Our developers are currently trying to solve this problem for the SP1 release.

Greetings,
Vladimir Milev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ed
Top achievements
Rank 1
answered on 09 Sep 2010, 04:41 PM
Hello,

I'm using the Q2 2010 release. I am also experiencing the lost of the dataitem property when the number of points exceeds 200. The samplingthreshold is enabled for faster response. This is for a scatter chart that plots thousands of points, and the objective is to identify trends, so the sampling feature works well. In particular, I need to access the dataitem property when users zoom in on the chart. 

Is it at all possible to maintain the dataitem property even when sampling is enabled?

thanks,
Ed
0
Vladimir Milev
Telerik team
answered on 15 Sep 2010, 01:49 PM
Hi Ed,

This is not available by design. When you perform sampling, several data points are merged into one by use of a sampling function such as Average, Sum, etc. This is a one-way process which cannot preserve distinct data of several data points into one.

All the best,
Vladimir Milev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Kiran
Top achievements
Rank 1
answered on 20 Jul 2011, 03:55 PM
Hi,

I am facing the same issue. Exactly after 200 points the DataItem becomes null.
I changed the RadChart.SamplingSettings.SamplingThreshold = 0.

But the desired result was not obtained.

Please provide a solution or work around to fix this issue.
Let me know if any further details are needed.

Regards,
Kiran
0
Vladimir Milev
Telerik team
answered on 25 Jul 2011, 10:46 AM
Hi Guys,

Please, read my original post about this issue. The behavior you are experiencing is by design. When you come to think about it you will realize why this is happening.

Regards,
Vladimir Milev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Chart
Asked by
Simeon
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Julien Lofficial
Top achievements
Rank 1
Ed
Top achievements
Rank 1
Kiran
Top achievements
Rank 1
Share this question
or