coverflow display/delay

4 posts, 0 answers
  1. Gary Blakely
    Gary Blakely avatar
    63 posts
    Member since:
    Jan 2010

    Posted 06 Jul 2010 Link to this post

    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

  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 09 Jul 2010 Link to this post

    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
  3. DevCraft banner
  4. Gary Blakely
    Gary Blakely avatar
    63 posts
    Member since:
    Jan 2010

    Posted 09 Jul 2010 Link to this post

    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
  5. George
    Admin
    George avatar
    1332 posts

    Posted 13 Jul 2010 Link to this post

    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
Back to Top