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

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

2 Answers 73 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 01 Feb 2011, 12:37 PM

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 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 03 Feb 2011, 04:06 PM
Just bumping this up... please help!

Cheers
Paul
0
Missing User
answered on 03 Feb 2011, 05:23 PM
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>>
Tags
Chart
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Missing User
Share this question
or