Plot effect and animation

3 posts, 0 answers
  1. Francesco
    Francesco avatar
    5 posts
    Member since:
    Oct 2012

    Posted 03 Oct 2012 Link to this post


    i'm using RadChartView in my WPF project. 
    this is my code:

    <telerik:RadCartesianChart x:Name="chart" Grid.Row="1">
                    <ChartView:ChartPalette Name="PreparationPalette">
                            <ChartView:PaletteEntry AdditionalFill="{x:Null}" AdditionalStroke="{x:Null}" Fill="{StaticResource passColor}" Stroke="{x:Null}" />
                            <ChartView:PaletteEntry AdditionalFill="{x:Null}" AdditionalStroke="{x:Null}" Fill="{StaticResource failColor}" Stroke="{x:Null}" />
                            <ChartView:PaletteEntry AdditionalFill="{x:Null}" AdditionalStroke="{x:Null}" Fill="{StaticResource reconstitutionColor}" Stroke="{x:Null}" />
                    <ChartView:LinearAxis Visibility="Hidden" />
                    <ChartView:BarSeries Name="BarPass"  CategoryBinding="Label"
                            ItemsSource="{Binding Mode=TwoWay, Path=RuntimePass}" CombineMode="{Binding CombineMode, Mode=TwoWay}" DataBindingComplete="BindingComplete" ShowLabels="True">                   
                    <ChartView:BarSeries Name="BarFail"  CategoryBinding="Label"
                            ItemsSource="{Binding Mode=TwoWay, Path=RuntimeFail}" CombineMode="{Binding Mode=TwoWay, Path=CombineMode}" DataBindingComplete="BindingComplete" ShowLabels="True">
                    <ChartView:BarSeries Name="BarReconsitution"  CategoryBinding="Label"
                            ItemsSource="{Binding Mode=TwoWay, Path=RuntimeReconstitution}" CombineMode="{Binding Path=CombineMode, Mode=TwoWay}" DataBindingComplete="BindingComplete" ShowLabels="True">

    My question is:
    have RadChartView animations o plot effects? In older object RadChart, bar are plotted with a effect by default; is there a way to apply for RadChartView?

    I'm using this Telerik version: 2012.2.912.40

  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 05 Oct 2012 Link to this post

    Hello Francesco,

     By design there are no animations for our RadChartView control and we are not planning to add such.

    Please note that we are actively encouraging our customers to use the new RadChartView control if they are starting new development projects now. However, since RadChartView is missing some of the features of RadChart (animations in your case) - you need to evaluate whether to use RadChart vs RadChartView on project by project basis and the specific requirements.

    You can find below a sample that will show you how to create an animation for the Bar series of RadChartView on your own. It is done via an EventTrigger that applies a change in the Height of each bar in response to its Loaded event. Feel free to modify this code per your needs and please have in mind that any further customizations on it should be implemeted by yourself. 

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Francesco
    Francesco avatar
    5 posts
    Member since:
    Oct 2012

    Posted 18 Oct 2012 Link to this post

    Thanks for the reply.

    Now i have replaced RadChartView with RadChart. I converted all function and now all it works.
Back to Top