<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Animating data changes in a Flex Pie Chart</title>
	<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Fri, 05 Dec 2008 11:04:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Nidal</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-15655</link>
		<author>Nidal</author>
		<pubDate>Wed, 17 Sep 2008 15:00:59 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-15655</guid>
		<description>Thank you I've found the response of my question, now what I try to do is the interpolation but in actionscript. this is what I did:
&lt;pre class="code"&gt;
var sI:SeriesInterpolate = new SeriesInterpolate();
sI.duration=1000;
pieSeries.setStyle("showDataEffect",sI); 
&lt;/pre&gt;

But it doesn't change anything. I guess that I miss something but I don't know what exactly!

Help please :)</description>
		<content:encoded><![CDATA[<p>Thank you I&#8217;ve found the response of my question, now what I try to do is the interpolation but in actionscript. this is what I did:</p>
<pre class="code">
var sI:SeriesInterpolate = new SeriesInterpolate();
sI.duration=1000;
pieSeries.setStyle("showDataEffect",sI);
</pre>
<p>But it doesn&#8217;t change anything. I guess that I miss something but I don&#8217;t know what exactly!</p>
<p>Help please :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nidal</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-15621</link>
		<author>Nidal</author>
		<pubDate>Tue, 16 Sep 2008 10:07:01 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-15621</guid>
		<description>Hi,

First of all thank you a lot for this example, but I would like to know how to specify colors depending on the value? for example if I have number 5 I would like color the area representing this number with red.

thank you again :).</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First of all thank you a lot for this example, but I would like to know how to specify colors depending on the value? for example if I have number 5 I would like color the area representing this number with red.</p>
<p>thank you again :).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-12884</link>
		<author>peterd</author>
		<pubDate>Thu, 22 May 2008 15:40:55 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-12884</guid>
		<description>&lt;a href="http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-12877" rel="nofollow"&gt;Scott&lt;/a&gt;,

I believe it is because of the &lt;code&gt;showDataEffect&lt;/code&gt; and &lt;code&gt;SeriesInterpolate&lt;/code&gt; on the PieSeries (although I really only tested this in Flex 3):

&lt;pre class="code"&gt;
&#60;mx:PieChart id=&#34;chart&#34;
        height=&#34;100%&#34;
        width=&#34;100%&#34;
        dataProvider=&#34;{dp}&#34;&#62;
    &#60;mx:series&#62;
        &#60;mx:PieSeries field=&#34;data&#34;&#62;
            &lt;strong style="color:red;"&gt;&#60;mx:showDataEffect&#62;
                &#60;mx:SeriesInterpolate duration=&#34;1000&#34; /&#62;
            &#60;/mx:showDataEffect&#62;&lt;/strong&gt;
        &#60;/mx:PieSeries&#62;
    &#60;/mx:series&#62;
&#60;/mx:PieChart&#62;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p><a href="http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-12877" rel="nofollow">Scott</a>,</p>
<p>I believe it is because of the <code>showDataEffect</code> and <code>SeriesInterpolate</code> on the PieSeries (although I really only tested this in Flex 3):</p>
<pre class="code">
&lt;mx:PieChart id=&quot;chart&quot;
        height=&quot;100%&quot;
        width=&quot;100%&quot;
        dataProvider=&quot;{dp}&quot;&gt;
    &lt;mx:series&gt;
        &lt;mx:PieSeries field=&quot;data&quot;&gt;
            <strong style="color:red;">&lt;mx:showDataEffect&gt;
                &lt;mx:SeriesInterpolate duration=&quot;1000&quot; /&gt;
            &lt;/mx:showDataEffect&gt;</strong>
        &lt;/mx:PieSeries&gt;
    &lt;/mx:series&gt;
&lt;/mx:PieChart&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-12877</link>
		<author>Scott</author>
		<pubDate>Thu, 22 May 2008 12:20:31 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-12877</guid>
		<description>On initial load of this page, the pie chart seems to build itself in a counter-clockwise fashion, how is this effect accomplished?  I cannot seem to duplicate it.

Thanks!</description>
		<content:encoded><![CDATA[<p>On initial load of this page, the pie chart seems to build itself in a counter-clockwise fashion, how is this effect accomplished?  I cannot seem to duplicate it.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-2869</link>
		<author>Rahul</author>
		<pubDate>Tue, 25 Sep 2007 04:18:07 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-2869</guid>
		<description>Hi,
I have been reading your blog for quite some time and let me tell you it is absolutely fantastic. I have been working with flex for quite a some time now but havent explored so many minor things that you work on.
Your examples are simple yet useful to all.
Keep the good work up.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have been reading your blog for quite some time and let me tell you it is absolutely fantastic. I have been working with flex for quite a some time now but havent explored so many minor things that you work on.<br />
Your examples are simple yet useful to all.<br />
Keep the good work up.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
