зеркало из https://github.com/telerik/xaml-sdk.git
29 строки
2.0 KiB
XML
29 строки
2.0 KiB
XML
<UserControl x:Class="Animations.ClusteredBars"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
|
xmlns:local="clr-namespace:Animations"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="300" d:DesignWidth="300">
|
|
<Grid>
|
|
<telerik:RadCartesianChart x:Name="chart" Grid.Row="1" Palette="Flower">
|
|
<telerik:RadCartesianChart.HorizontalAxis>
|
|
<telerik:CategoricalAxis />
|
|
</telerik:RadCartesianChart.HorizontalAxis>
|
|
<telerik:RadCartesianChart.VerticalAxis>
|
|
<telerik:LinearAxis />
|
|
</telerik:RadCartesianChart.VerticalAxis>
|
|
<telerik:RadCartesianChart.Series>
|
|
<telerik:BarSeries CategoryBinding="XCat" ValueBinding="YVal1" ItemsSource="{Binding}" local:ChartAnimationUtilities.CartesianAnimation="RiseWithDelay" />
|
|
<telerik:BarSeries CategoryBinding="XCat" ValueBinding="YVal2" ItemsSource="{Binding}" local:ChartAnimationUtilities.CartesianAnimation="RiseWithDelay" />
|
|
<telerik:BarSeries CategoryBinding="XCat" ValueBinding="YVal3" ItemsSource="{Binding}" local:ChartAnimationUtilities.CartesianAnimation="RiseWithDelay" />
|
|
<telerik:BarSeries CategoryBinding="XCat" ValueBinding="YVal4" ItemsSource="{Binding}" local:ChartAnimationUtilities.CartesianAnimation="RiseWithDelay" />
|
|
<telerik:BarSeries CategoryBinding="XCat" ValueBinding="YVal2" ItemsSource="{Binding}" local:ChartAnimationUtilities.CartesianAnimation="RiseWithDelay" />
|
|
</telerik:RadCartesianChart.Series>
|
|
</telerik:RadCartesianChart>
|
|
<Button HorizontalAlignment="Right" VerticalAlignment="Bottom" Content="run" Click="Button_Click" />
|
|
</Grid>
|
|
</UserControl>
|