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

Custom silverlight telerik radchart animation

4 Answers 127 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Randhir
Top achievements
Rank 1
Randhir asked on 07 Sep 2010, 06:30 PM
Hi ,
I have been using telerik silverlight radchart controls.

I need to change the default animations and have my own custom animation.
How can i do this?
the documentation says to have custom animation i have to change the template, but does not show how to do that. The documentation does however shows "templating the point marks".

Can anybody tell me steps to have custom animation using experssion blend 4.

I need it urgent , i am already late completing my project and stuck on this topic since last 15 days.

Any help would be really appreciated.

Thanks,
randhir

4 Answers, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 10 Sep 2010, 03:32 PM
Hi Randhir,

The documentation concerning the items animation seems to be outdated and I beg you to accept our apologies about that.

You don't have to edit the template of the items as the resources needed are theme specific and can be overridden on either application level or page level. Attached is a small example demonstrating how to override the BarStoryboard for the office themes.

Hope this will help.

Regards,
Ryan
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
0
Randhir
Top achievements
Rank 1
answered on 11 Sep 2010, 06:52 PM
Hi admin,

thanks for the reply.

i really appreciate for all of your help.

there is problem with the example file you have provided in last reply.

you have declared radchart and set it's ItemsSource and DefaultSeriesDefinition from code behind. you also have declared two animation in the resources section, but i do not see any association between the animations defined in resources and the chart defined.

How is the radchart take those animations defined in resources?
I don't know, may be i don't understand.

please look at the example you have provided in last reply

thanks,
randhir
0
Velin
Telerik team
answered on 15 Sep 2010, 06:08 PM
Hello Randhir,

The RadChart control will automatically discover and use the custom storyboard resource as soon as it is properly named and placed. The places where the chart control looks for such resources are as follows:
  1. Application level resources.
  2. Page level resources. 

For example, for the bar chart with office_black theme the storyboard should be named : OfficeBarStoryboard and for the pie chart : OfficePieStoryboard, etc..

For the Summer theme the storyboards should be named SummerBarStoryboard and SummerPieStoryboard respectively.

Hope this will help.

Sincerely yours,
Ryan
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
0
Randhir
Top achievements
Rank 1
answered on 15 Sep 2010, 06:49 PM
Hi admin,

thanks for the reply.
i understand what you say.
This is a great help to me.
thanks,
Randhir
Tags
Chart
Asked by
Randhir
Top achievements
Rank 1
Answers by
Velin
Telerik team
Randhir
Top achievements
Rank 1
Share this question
or