Which bar was clicked

4 posts, 0 answers
  1. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 16 Mar 2011 Link to this post

    http://demos.telerik.com/silverlight/#Chart/SortFilter
    I have implemented a similar context menu as demonstrated in the demo. On the item click event however how can I figure out which Bubble was clicked at. Also after I do a right click on the Bubble to get the context menu and left click on the chart area the chart zooms in and displays "No Data".
    Thanks.
  2. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 18 Mar 2011 Link to this post

    I figured out from a previous forum post about which bubble was clicked. However I ran into another issue. How can I set the ItemsSource of the Contextmenu from the code behind instead of Binding in the xaml. I need to be able to set this to be able to have different menus for different bubbles.
    Also after I do a right click on the Bubble to get the context menu and left click on the chart area the chart zooms in and displays "No Data".
  3. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 21 Mar 2011 Link to this post

    Having the context menu defined in the xaml declaration instead of having it in the controltemplate did the trick as in the below discussion.
    http://www.telerik.com/community/forums/silverlight/chart/radcontextmenu-with-bar-chart.aspx

    Only outstanding issue is after I do a right click on the Bubble to get the context menu and left click on the chart area the chart zooms in and displays "No Data".
  4. Missing user
    Missing user avatar

    Posted 22 Mar 2011 Link to this post

    Hi scorp,

    We need more details on how you implement the RadChart and the context menu. To further trace the issue, it will be best if you open a formal support ticket, and send us a small working project, demonstrating the issue. We will debug it locally, and advise you further.

    Regards,
    Polina
    the Telerik team
Back to Top