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

coverflow display/delay

3 Answers 44 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
Gary Blakely
Top achievements
Rank 1
Gary Blakely asked on 07 Jul 2010, 01:23 AM
I have a bunch of RadCharts in a CoverFlow.  The itemssource to the CoverFlow is a list of RadCharts.  It all works pretty well but I want to animate the construction of the charts and the coverflow.

As you know the construction of a radchart is animated.  I want to show the first Radchart in the coverflow so the user can see it being built.  Then I want to show the second being built, etc, etc.  Right now it shows nothing until everything is built even though I add them one at a time in code.

I was thinking of using a storyboard in code with a timespan but is there a better way?

right now my code looks like this but what displays is the last radchart already built.

myCoverFlow.ItemsSource = wpthumbnails;

ProcessFatigueChart(myPlayerDataClass);

myCoverFlow.SelectedIndex = 0;

ProcessPar345Chart(myPlayerDataClass);

myCoverFlow.SelectedIndex = 1;

ProcessScoringChart(myPlayerDataClass);

myCoverFlow.SelectedIndex = 2;

ProcessTeeShotChart(myPlayerDataClass);

myCoverFlow.SelectedIndex = 3;

ProcessApproachShotChart(myPlayerDataClass);

myCoverFlow.SelectedIndex = 4;

ProcessSummaryChart(myPlayerDataClass);

myCoverFlow.SelectedIndex = 5;

ProcessStrengthsWeaknessesChart(myPlayerDataClass.StrengthData,

 

'S');

 

myCoverFlow.SelectedIndex = 6;

ProcessStrengthsWeaknessesChart(myPlayerDataClass.WeaknessData,

 

'W');

 

myCoverFlow.SelectedIndex = 7;

thanks,
Gary

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 09 Jul 2010, 03:46 PM
Hi Gary Blakely,

Thank you for contacting us.

This is the expected behaviour of the items of the CoverFlow. However, I am sending you a sample project in which is illustrated how via the SelectionChanged event of the CoverFlow you can add the ItemsSource of the charts and trigger their animation. If you use the commented code the changing of the items of the CoverFlow will be automatically.

Hope this fits your case.

If you have further questions please feel free to contact us again.

Best wishes,
Konstantina
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
Gary Blakely
Top achievements
Rank 1
answered on 09 Jul 2010, 07:47 PM
Thanks for the example but...
I also filed a support ticket and "George" informed me that this is a known problem with the CoverFlow and that it would be fixed in a build due today, Friday July 9, 2010.  Which is the case?
Thanks,
Gary
0
George
Telerik team
answered on 13 Jul 2010, 08:09 AM
Hi Gary Blakely,

Sorry for the misunderstanding.

The bug that I meant is the one that when you add the items in the CoverFlow via a collection, they don't get displayed. Last friday there wasn't internal build, it was uploaded yesterday.
The expected behaviour that Konstantina meant is the one that all charts are already drawn when the CoverFlow is displayed. This can be work-around with the project that Konstantina sent you.

Hope this clarifies the case.

If you have further questions please feel free to contact us again.

Regards,
George
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
Tags
CoverFlow
Asked by
Gary Blakely
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Gary Blakely
Top achievements
Rank 1
George
Telerik team
Share this question
or