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

Selection of stacked bar

1 Answer 70 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Evgeni
Top achievements
Rank 1
Evgeni asked on 31 Jul 2012, 12:31 PM
Hello,
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.

Evgeni


1 Answer, 1 is accepted

Sort by
0
Lancelot
Top achievements
Rank 1
answered on 31 Jul 2012, 04:22 PM
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,
Lancelot
Tags
Chart
Asked by
Evgeni
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Share this question
or