radChart with Transitions

5 posts, 1 answers
  1. Paul Gallen
    Paul Gallen avatar
    156 posts
    Member since:
    Jun 2008

    Posted 09 Sep 2010 Link to this post

    Hi,

    Using your online examples as a base I have develped a SL app that can display one of 3 radCharts depending on what the user has selected from a listbox. The selected radChart is displayed in the ContentTemplate of the RadTransitionControl. The transition I use is also taken from your example

     

    tempViewModel = New TransitionEffectViewModel()

    tempViewModel.Name = "SlideAndZoomTransition"

    tempViewModel.TransitionProvider = New SlideAndZoomTransition()

    tempViewModel.Duration = New TimeSpan(0, 0, 0, 0, 1)

    list.Add(tempViewModel)

    irrespective of the timespan value the transition speed is constant, that is; it is quite slow to render the next radChart
    The radcharts are placed in a usercontrol and the usercontrol is in a radTile control. Apart from this issue all my requirements work very well.

    btw (nice controls)

    P

     

     

  2. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 09 Sep 2010 Link to this post

    Hi Paul,

    Thank you for the good words!

     The transition duration depends on the value of the Duration property of the RadTransitionControl. The view-model you create is needed in our example, because we have multiple transitions and a combo box that displays all of them. In your case you don't need this view-model, but to set the properties directly in XAML (Duration and Transition).

    If you have further questions, don't hesitate to ask!

    Kind regards,
    Miroslav Nedyalkov
    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. Paul Gallen
    Paul Gallen avatar
    156 posts
    Member since:
    Jun 2008

    Posted 09 Sep 2010 Link to this post

    Thanks Miroslav

    Indeed you are correct, I forgot to bind the duration property from the ViewModel to the Duration of the Transition control

    With all these nested controls and transitions, still great perfromance.

    Thanks

    P
  5. Srini
    Srini avatar
    41 posts
    Member since:
    Jul 2009

    Posted 26 Oct 2010 Link to this post

    Hi can i have that sample project? I'm looking for the same operation...
  6. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 27 Oct 2010 Link to this post

    Hi Srini,

    Thank you for contacting us.

    You can find the example in this online demo: http://demos.telerik.com/silverlight/#TransitionControl/CustomTransition

    If you have any other inquiries please let us know.

    All the best,
    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
Back to Top
DevCraft banner