Horizontal Bar Chart - Bars only 1/2 expected length.

3 posts, 0 answers
  1. Paul
    Paul avatar
    2 posts
    Member since:
    Jan 2011

    Posted 01 Feb 2011 Link to this post

    Hoping this is a really simple problem, I've attached a screenshot - should be obvious what I'm talking about.

    <telerik:RadChart ItemsSource="{Binding xxx}" Height="164" HorizontalAlignment="Left" Margin="12,113,0,0" Name="radChart2" VerticalAlignment="Top" Width="563" BorderThickness="0" Background="Transparent">
        <telerik:RadChart.AnimationSettings>
            <telerik:AnimationSettings ItemAnimationDuration="00:00:00.10" ItemDelay="00:00:00.10" DefaultSeriesDelay="0" TotalSeriesAnimationDuration="00:00:00.33" />
        </telerik:RadChart.AnimationSettings>
        <telerik:RadChart.DefaultView>
            <telerik:ChartDefaultView>
                <telerik:ChartDefaultView.ChartArea>                        
                    <telerik:ChartArea 
                        LegendName="ChartLegend2" 
                        NoDataString="No Subscriptions" PaletteBrushesRepeat="True" />                        
                </telerik:ChartDefaultView.ChartArea>
                <telerik:ChartDefaultView.ChartLegend>
                    <telerik:ChartLegend Visibility="Collapsed"/>
                </telerik:ChartDefaultView.ChartLegend>
            </telerik:ChartDefaultView>
        </telerik:RadChart.DefaultView>
        <telerik:RadChart.SeriesMappings>
            <telerik:SeriesMapping>
                <telerik:SeriesMapping.SeriesDefinition>
                    <telerik:HorizontalBarSeriesDefinition />
                </telerik:SeriesMapping.SeriesDefinition>                    
                <telerik:ItemMapping FieldName="y" DataPointMember="YValue" />
                <telerik:ItemMapping FieldName="x" DataPointMember="XCategory" />
            </telerik:SeriesMapping>
        </telerik:RadChart.SeriesMappings>
    </telerik:RadChart>
  2. Paul
    Paul avatar
    2 posts
    Member since:
    Jan 2011

    Posted 03 Feb 2011 Link to this post

    Just bumping this up... please help!

    Cheers
    Paul
  3. Missing user
    Missing user avatar

    Posted 03 Feb 2011 Link to this post

    Hi Paul,

    I suppose that the animation duration of each series item is too small to animate it. What I can suggest to increase the value of the ItemAnimationDuration.

    Here you can find more information about RadChart animation:
    http://www.telerik.com/help/silverlight/radchart-features-animations.html

    I hope this helps.

    All the best,
    Polina
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top