Selection of stacked bar

2 posts, 0 answers
  1. Evgeni
    Evgeni avatar
    2 posts
    Member since:
    Jul 2012

    Posted 31 Jul 2012 Link to this post

    I am using a StackedBar100Series in the Silverlight RadChart control. On the screen, on left part I displaying a chart, on the right part I displaying list of categories (every bar in the StackedBar100Series belongs to different category). My goal is when someone clicks one of the categories, the stacked bar belongs to that category should be highlighted (or marked in some way - the important is to give the user a hint about which of the bars belongs to that category). 

    I tried InteractivitySettings, but with no luck. Also i tried to play with Appearance, but i don't know how to manipulate it based on selected item.

    So, I will appreciate any help on this issue.

    It worth say that I using MVVM pattern, and everything is bound to my view model.

    Thanks in advance.


  2. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 31 Jul 2012 Link to this post

    Hi Evgeni,

    I think if you take this example of Highlighting a Point Mark and adapt it by adding in additional logic to show the category you want, you'll get the results you're looking for. In particular, inside the SetPointMarkSelectedState event you can make the changes to the UI that correspond to the selected item.

    Good Luck,
Back to Top