Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 11 additions & 16 deletions wpf/Charts/Animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ The following example shows the Animation feature for chart series.
{% highlight xaml %}

<syncfusion:SfChart>

<syncfusion:ColumnSeries EnableAnimation="True" AnimationDuration="00:00:03"

XBindingPath="Category" YBindingPath="Count" ItemsSource="{Binding}"/>

<syncfusion:ColumnSeries
EnableAnimation="True"
AnimationDuration="00:00:03"
XBindingPath="Category"
YBindingPath="Count"
ItemsSource="{Binding Data}"/>
</syncfusion:SfChart>

{% endhighlight %}
Expand All @@ -53,17 +54,11 @@ XBindingPath="Category" YBindingPath="Count" ItemsSource="{Binding}"/>

ColumnSeries columnSeries = new ColumnSeries()
{

ItemsSource = new ViewModel().Data,

XBindingPath = "Category",

YBindingPath = "Count",

EnableAnimation = true,

AnimationDuration = new TimeSpan(00, 00, 03)

ItemsSource = new ViewModel().Data,
XBindingPath = "Category",
YBindingPath = "Count",
EnableAnimation = true,
AnimationDuration = new TimeSpan(00, 00, 03)
};

chart.Series.Add(columnSeries);
Expand Down
Loading