我有一个饼图,我正在使用silverlight工具包,动画序列是第一个到最后一个。我注意到的一件事是每个切片之间出现的动画对于我需要的东西来说有点慢。我无法弄清楚如何调整每个切片出现的速度。有人能够对此有所了解吗?
<toolkit:Chart x:Name="charttest" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Title="" d:LayoutOverrides="Height">
<toolkit:PieSeries x:Name="pie" ItemsSource="{Binding}" DependentValuePath="Value" IndependentValuePath="Key" DataPointStyle="{StaticResource PieDataPointStyleTest}" AnimationSequence="FirstToLast"/>
</toolkit:Chart>
我试过以下无济于事:
<toolkit:Chart x:Name="charttest" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Title="" d:LayoutOverrides="Height">
<toolkit:PieSeries x:Name="pie" ItemsSource="{Binding}" DependentValuePath="Value" IndependentValuePath="Key" AnimationSequence="FirstToLast">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="RevealStates">
<VisualStateGroup.Transitions>
<VisualTransition GeneratedDuration="0:0:0.01"/>
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
</toolkit:PieSeries>
</toolkit:Chart>