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

[Solved] Bar series - animation on selection/hover

4 Answers 202 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ron
Top achievements
Rank 1
Ron asked on 26 Nov 2012, 05:28 AM
Hi guys,

Pretty new to XAML/Win8/telerik charts. I'm wondering if there's a good example for implementing an effect on hover/selection of a bar series so it highlights with a border change or do a transform. I figure this will need to use the visual state manager but there isn't any example of how this can be done for a chart.

I am on the latest version. Any help would be great.

Thanks,
Ron

4 Answers, 1 is accepted

Sort by
0
Ron
Top achievements
Rank 1
answered on 26 Nov 2012, 11:03 PM
Sorted. Adding selection behaviour and specifying a selected palette enables highlighting.
<chart:RadCartesianChart.Behaviors>
 <chart:RadCartesianChart.Behaviors>
         <chart:ChartSelectionBehavior DataPointSelectionMode="Single"</chart:ChartSelectionBehavior>
</chart:RadCartesianChart.Behaviors>

And hover is of low low priority as it'll be mostly for touch devices.
0
Tsvyatko
Telerik team
answered on 27 Nov 2012, 12:55 PM
Hi Ron,

We are happy that you have found the solution for your scenario. Indeed, using the selection behavior is the way to go. Regarding the hover state, we have not implemented it since we believe that most of the scenarios will be covered by tooltips/selections (and the fact the in touch environment hover is not defined). Nevertheless, we will be happy to hear more about the scenario that involves hover, whether it is a visual decoration or has an additional data presentation.

All the best,
Tsvyatko
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Atul
Top achievements
Rank 1
answered on 07 Jul 2015, 12:17 PM
Is it possible to highlight a Bar in the RadCartesianChart with a specific color and raise it in respect of the others like which is possible of animating a slice in Pie series? It's an Urgent requirement I have.
0
Tsvyatko
Telerik team
answered on 10 Jul 2015, 08:00 AM
Hello Atul,

it is possible to highlight the selected series setting SelectionPaletteName to a specific value (for eg. Setting it to DefaultLightSelected) in conjuction with ChartSelectionBehavior.

It is not possible to apply translation to a specific bar series on selection.

Regards,
Tsvyatko
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Chart for XAML
Asked by
Ron
Top achievements
Rank 1
Answers by
Ron
Top achievements
Rank 1
Tsvyatko
Telerik team
Atul
Top achievements
Rank 1
Share this question
or