Chart Area Click

8 posts, 0 answers
  1. Simeon
    Simeon avatar
    27 posts
    Member since:
    Jul 2012

    Posted 12 Mar 2010 Link to this post

    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,
  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 14 Mar 2010 Link to this post

    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.
  3. Julien Lofficial
    Julien Lofficial avatar
    5 posts
    Member since:
    Feb 2010

    Posted 15 Mar 2010 Link to this post

    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
  4. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 18 Mar 2010 Link to this post

    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.
  5. Ed
    Ed avatar
    6 posts
    Member since:
    Feb 2010

    Posted 09 Sep 2010 Link to this post

    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
  6. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 15 Sep 2010 Link to this post

    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
  7. Kiran
    Kiran avatar
    1 posts
    Member since:
    Jun 2011

    Posted 20 Jul 2011 Link to this post

    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
  8. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 25 Jul 2011 Link to this post

    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!

Back to Top