<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Animating data changes in a Flex Pie Chart</title>
	<atom:link href="http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dev</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/comment-page-1/#comment-10326</link>
		<dc:creator>Dev</dc:creator>
		<pubDate>Tue, 17 Jan 2012 20:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-10326</guid>
		<description>I am working with LieChart with LineSeries. I have data coming from webservice and I want to show only the 30 latest values. So in the dataproveider I am deleting the oldest value and pusing the new value with SeriesInterpolate effect of duration being the time arrival of two successive values from the webservice. Now for soem reason flex interpolates all the values again when I do that and there is a noticeable ups and downs going on in the grpah. What I would rather like to do is only to interplate betwen wo latest values and shift left the rest of the graph. I have been trying for quite a while to see how the values are interpolated in the LineSeries.as class but could not get anywhere. 
I know the post is very old but if you or anyone else come across this problem with a slight direction on how to approach, it would be very helpful.
There is an initializeInterpolationData function in Series.as but I am not sure how would I go about using it.</description>
		<content:encoded><![CDATA[<p>I am working with LieChart with LineSeries. I have data coming from webservice and I want to show only the 30 latest values. So in the dataproveider I am deleting the oldest value and pusing the new value with SeriesInterpolate effect of duration being the time arrival of two successive values from the webservice. Now for soem reason flex interpolates all the values again when I do that and there is a noticeable ups and downs going on in the grpah. What I would rather like to do is only to interplate betwen wo latest values and shift left the rest of the graph. I have been trying for quite a while to see how the values are interpolated in the LineSeries.as class but could not get anywhere.<br />
I know the post is very old but if you or anyone else come across this problem with a slight direction on how to approach, it would be very helpful.<br />
There is an initializeInterpolationData function in Series.as but I am not sure how would I go about using it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sai prasad</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/comment-page-1/#comment-6757</link>
		<dc:creator>sai prasad</dc:creator>
		<pubDate>Tue, 12 Jan 2010 12:43:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-6757</guid>
		<description>I have used  ArrayCollection as data provider for pie chart. Still interpolation through action script is not working.

Thanks,
sai</description>
		<content:encoded><![CDATA[<p>I have used  ArrayCollection as data provider for pie chart. Still interpolation through action script is not working.</p>
<p>Thanks,<br />
sai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene Se</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/comment-page-1/#comment-4294</link>
		<dc:creator>Eugene Se</dc:creator>
		<pubDate>Wed, 01 Jul 2009 08:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-4294</guid>
		<description>Hi,

How is it possible that the chart reacts to data changes to an array? I thought that data binding to an array is not possible and that you would have to use an ArrayCollection (for example).

Thanks,

Eugene</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How is it possible that the chart reacts to data changes to an array? I thought that data binding to an array is not possible and that you would have to use an ArrayCollection (for example).</p>
<p>Thanks,</p>
<p>Eugene</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alkan Arslan</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/comment-page-1/#comment-1329</link>
		<dc:creator>Alkan Arslan</dc:creator>
		<pubDate>Thu, 07 May 2009 20:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-1329</guid>
		<description>Hello

mx script after the






after</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>mx script after the</p>
<p>after</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MT</title>
		<link>http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/comment-page-1/#comment-1330</link>
		<dc:creator>MT</dc:creator>
		<pubDate>Wed, 22 Apr 2009 07:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-1330</guid>
		<description>Hello,

Is the above example of action script working fine?

I am also facing the same problem.

Please help.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Is the above example of action script working fine?</p>
<p>I am also facing the same problem.</p>
<p>Please help.</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-page-1/#comment-1331</link>
		<dc:creator>Nidal</dc:creator>
		<pubDate>Wed, 17 Sep 2008 15:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-1331</guid>
		<description>Thank you I&#039;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=&quot;code&quot;&gt;
var sI:SeriesInterpolate = new SeriesInterpolate();
sI.duration=1000;
pieSeries.setStyle(&quot;showDataEffect&quot;,sI);
&lt;/pre&gt;

But it doesn&#039;t change anything. I guess that I miss something but I don&#039;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-page-1/#comment-1332</link>
		<dc:creator>Nidal</dc:creator>
		<pubDate>Tue, 16 Sep 2008 10:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-1332</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-page-1/#comment-1327</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Thu, 22 May 2008 15:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-1327</guid>
		<description>&lt;a href=&quot;http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-12877&quot; rel=&quot;nofollow&quot;&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=&quot;code&quot;&gt;
&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;
            &lt;strong style=&quot;color:red;&quot;&gt;&lt;mx:showDataEffect&gt;
                &lt;mx:SeriesInterpolate duration=&quot;1000&quot; /&gt;
            &lt;/mx:showDataEffect&gt;&lt;/strong&gt;
        &lt;/mx:PieSeries&gt;
    &lt;/mx:series&gt;
&lt;/mx:PieChart&gt;
&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-page-1/#comment-1328</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 22 May 2008 12:20:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-1328</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-page-1/#comment-1326</link>
		<dc:creator>Rahul</dc:creator>
		<pubDate>Tue, 25 Sep 2007 04:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/#comment-1326</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>

