<?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: Missing values in Flex charts</title>
	<atom:link href="http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/</link>
	<description>Odds and Sodds</description>
	<lastBuildDate>Fri, 20 Jan 2012 14:38:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: diablo3</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-571</link>
		<dc:creator>diablo3</dc:creator>
		<pubDate>Fri, 20 Jan 2012 14:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-571</guid>
		<description>It&#039;s laborious to find knowledgeable individuals on this topic, however you sound like you know what you&#039;re speaking about! Thanks
You must take part in a contest for top-of-the-line blogs on the web. I will suggest this web site!</description>
		<content:encoded><![CDATA[<p>It&#8217;s laborious to find knowledgeable individuals on this topic, however you sound like you know what you&#8217;re speaking about! Thanks<br />
You must take part in a contest for top-of-the-line blogs on the web. I will suggest this web site!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-488</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 22 Sep 2011 14:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-488</guid>
		<description>Sure, I would like to see a gap in my area chart where missing values are.  I have assigned the value NaN to the values I don&#039;t want to show.  This works perfectly in line charts.  However in the area chart it actually plots the value that should be missing. It places the point at 0 on the y axis.  So when the area fill draws it draws it from the last known good point, lets say 10, down to 0 or the missing.  It should just be drawing it to the 10 and filled in.  So what you see is an angle down from 10 to 0.  It should just stop at the last know good value of 10. Also since the missing data point is plotted you get a dataTip with value of NaN.  That should never happen.  Does this make sense?</description>
		<content:encoded><![CDATA[<p>Sure, I would like to see a gap in my area chart where missing values are.  I have assigned the value NaN to the values I don&#8217;t want to show.  This works perfectly in line charts.  However in the area chart it actually plots the value that should be missing. It places the point at 0 on the y axis.  So when the area fill draws it draws it from the last known good point, lets say 10, down to 0 or the missing.  It should just be drawing it to the 10 and filled in.  So what you see is an angle down from 10 to 0.  It should just stop at the last know good value of 10. Also since the missing data point is plotted you get a dataTip with value of NaN.  That should never happen.  Does this make sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Odds</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-487</link>
		<dc:creator>Graham Odds</dc:creator>
		<pubDate>Thu, 22 Sep 2011 07:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-487</guid>
		<description>Hi Dave,

I&#039;m afraid I don&#039;t quite follow what you are describing.  Do you have an example you could share to give me a better idea of what is happening and what you want to happen?

Regards,
Graham</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>I&#8217;m afraid I don&#8217;t quite follow what you are describing.  Do you have an example you could share to give me a better idea of what is happening and what you want to happen?</p>
<p>Regards,<br />
Graham</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-486</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 21 Sep 2011 21:33:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-486</guid>
		<description>Hi, So I am having the area problem as well.  But my issue is a little different.  I have missing values that I desire and have those set using the NaN.  The problem is on my AreaChart it is placing those values on the chart.  So I see my area filled in down to the NaN value which is placed at 0.  The dataTip has NaN in it as the value even.  If I understand your solution correctly, you are saying that changing the AreaRenderer would fix this.  But I don&#039;t understand how this would work if my NaN (missing) value is actually getting plotted on the chart.  I would think it would just fill out to that value instead of the prior valid value before it.  Any ideas?

Thanks,
Dave</description>
		<content:encoded><![CDATA[<p>Hi, So I am having the area problem as well.  But my issue is a little different.  I have missing values that I desire and have those set using the NaN.  The problem is on my AreaChart it is placing those values on the chart.  So I see my area filled in down to the NaN value which is placed at 0.  The dataTip has NaN in it as the value even.  If I understand your solution correctly, you are saying that changing the AreaRenderer would fix this.  But I don&#8217;t understand how this would work if my NaN (missing) value is actually getting plotted on the chart.  I would think it would just fill out to that value instead of the prior valid value before it.  Any ideas?</p>
<p>Thanks,<br />
Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-160</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Wed, 15 Sep 2010 16:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-160</guid>
		<description>Hi Graham,

Thanks - I was able to get around this by &quot;tricking&quot; flex.  I did this by creating a data object that sets the area_maximum_value = area_minimum_value.  I then inserted this data at the beginning of the missing data and at end of the missing data.  I believe flex renders the &quot;area&quot; along this missing space, but as the max and min are the same there is no area to draw.  A bit of a hack, but it worked.

I am now, however, faced with the same issue on an area chart and this method does not work.  I will look into a custom renderer.

Keith

P.S Funny your post was on 4/12 and I swear I checked it as late as the 15th or 20th and didn&#039;t see a reply.</description>
		<content:encoded><![CDATA[<p>Hi Graham,</p>
<p>Thanks &#8211; I was able to get around this by &#8220;tricking&#8221; flex.  I did this by creating a data object that sets the area_maximum_value = area_minimum_value.  I then inserted this data at the beginning of the missing data and at end of the missing data.  I believe flex renders the &#8220;area&#8221; along this missing space, but as the max and min are the same there is no area to draw.  A bit of a hack, but it worked.</p>
<p>I am now, however, faced with the same issue on an area chart and this method does not work.  I will look into a custom renderer.</p>
<p>Keith</p>
<p>P.S Funny your post was on 4/12 and I swear I checked it as late as the 15th or 20th and didn&#8217;t see a reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Odds</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-76</link>
		<dc:creator>Graham Odds</dc:creator>
		<pubDate>Mon, 12 Apr 2010 07:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-76</guid>
		<description>Hi Keith,

I believe this is due to how the default &lt;a href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/charts/renderers/AreaRenderer.html&quot; rel=&quot;nofollow&quot;&gt;AreaRenderer&lt;/a&gt; does its drawing: it simply fills all area below the line.  To &quot;fix&quot; this you would have to create a custom series renderer that replaces the default &lt;em&gt;begin fill -&gt; draw polyline -&gt; end fill&lt;/em&gt; approach with a repeated &lt;em&gt;begin fill -&gt; draw line segment -&gt; end fill&lt;/em&gt; approach.  That way it would be simple enough to not fill the areas where there is no line segment.

Hope this helps,
Graham</description>
		<content:encoded><![CDATA[<p>Hi Keith,</p>
<p>I believe this is due to how the default <a href="http://livedocs.adobe.com/flex/3/langref/mx/charts/renderers/AreaRenderer.html" rel="nofollow">AreaRenderer</a> does its drawing: it simply fills all area below the line.  To &#8220;fix&#8221; this you would have to create a custom series renderer that replaces the default <em>begin fill -&gt; draw polyline -&gt; end fill</em> approach with a repeated <em>begin fill -&gt; draw line segment -&gt; end fill</em> approach.  That way it would be simple enough to not fill the areas where there is no line segment.</p>
<p>Hope this helps,<br />
Graham</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-75</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Thu, 08 Apr 2010 17:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-75</guid>
		<description>On an area series when filter data is set to true - the area is still filled in on missing data.  This behavior is not like the line series example above where there is a blank area in the line.

Any thoughts?

Thanks
Keith</description>
		<content:encoded><![CDATA[<p>On an area series when filter data is set to true &#8211; the area is still filled in on missing data.  This behavior is not like the line series example above where there is a blank area in the line.</p>
<p>Any thoughts?</p>
<p>Thanks<br />
Keith</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Black</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-64</link>
		<dc:creator>Christopher Black</dc:creator>
		<pubDate>Mon, 18 Jan 2010 20:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-64</guid>
		<description>Thanks for the post and link to the Adobe bug. This is exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>Thanks for the post and link to the Adobe bug. This is exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wim</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-24</link>
		<dc:creator>Wim</dc:creator>
		<pubDate>Fri, 03 Jul 2009 14:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-24</guid>
		<description>Actually, FilterDataOff crashes with:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at mx.charts.series::AreaSeries/updateTransform()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\AreaSeries.as:1620]
	at mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]
	at mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
	at mx.charts.series::AreaSeries/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\AreaSeries.as:852]
	at mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6351]
	at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
	at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:677]
	at Function/http://adobe.com/AS3/2006/builtin::apply()
	at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]
	at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]</description>
		<content:encoded><![CDATA[<p>Actually, FilterDataOff crashes with:</p>
<p>TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at mx.charts.series::AreaSeries/updateTransform()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\AreaSeries.as:1620]<br />
	at mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]<br />
	at mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]<br />
	at mx.charts.series::AreaSeries/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\series\AreaSeries.as:852]<br />
	at mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6351]<br />
	at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]<br />
	at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:677]<br />
	at Function/http://adobe.com/AS3/2006/builtin::apply()<br />
	at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]<br />
	at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Odds</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-16</link>
		<dc:creator>Graham Odds</dc:creator>
		<pubDate>Tue, 19 May 2009 14:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-16</guid>
		<description>Hi Pat,

Here is a &lt;a href=&#039;http://www.scottlogic.co.uk/blog/graham/wp-content/uploads/2009/04/filterdata_source.zip&#039; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt; to the &lt;a href=&#039;http://www.scottlogic.co.uk/blog/graham/wp-content/uploads/2009/04/filterdata_source.zip&#039; rel=&quot;nofollow&quot;&gt;source code&lt;/a&gt;.  I&#039;ve added a link to it in the article as well.  I noticed that there was a code snippet missing as well so I have reintroduced it.  Hope that provides all the information you are after.

Graham</description>
		<content:encoded><![CDATA[<p>Hi Pat,</p>
<p>Here is a <a href='http://www.scottlogic.co.uk/blog/graham/wp-content/uploads/2009/04/filterdata_source.zip' rel="nofollow">link</a> to the <a href='http://www.scottlogic.co.uk/blog/graham/wp-content/uploads/2009/04/filterdata_source.zip' rel="nofollow">source code</a>.  I&#8217;ve added a link to it in the article as well.  I noticed that there was a code snippet missing as well so I have reintroduced it.  Hope that provides all the information you are after.</p>
<p>Graham</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Whittingham</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-15</link>
		<dc:creator>Patrick Whittingham</dc:creator>
		<pubDate>Tue, 19 May 2009 14:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-15</guid>
		<description>Can you provide the code for the 2 line charts so I can compare the differences.

Thanks,
Pat</description>
		<content:encoded><![CDATA[<p>Can you provide the code for the 2 line charts so I can compare the differences.</p>
<p>Thanks,<br />
Pat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Odds</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-14</link>
		<dc:creator>Graham Odds</dc:creator>
		<pubDate>Wed, 06 May 2009 11:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-14</guid>
		<description>Hi Sayali,

This is a known &lt;a href=&quot;http://bugs.adobe.com/jira/browse/FLEXDMV-1661&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;bug&lt;/a&gt;.  The &lt;a href=&quot;http://bugs.adobe.com/jira/browse/FLEXDMV-1661&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;bug report&lt;/a&gt; includes a workaround in its comments.  I hope this solves your problem.

Graham</description>
		<content:encoded><![CDATA[<p>Hi Sayali,</p>
<p>This is a known <a href="http://bugs.adobe.com/jira/browse/FLEXDMV-1661" target="_blank" rel="nofollow">bug</a>.  The <a href="http://bugs.adobe.com/jira/browse/FLEXDMV-1661" target="_blank" rel="nofollow">bug report</a> includes a workaround in its comments.  I hope this solves your problem.</p>
<p>Graham</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayali</title>
		<link>http://www.scottlogic.co.uk/blog/graham/2009/04/missing-values-in-flex-charts/comment-page-1/#comment-13</link>
		<dc:creator>Sayali</dc:creator>
		<pubDate>Mon, 04 May 2009 12:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/graham/?p=57#comment-13</guid>
		<description>For Area Series when filterData property is set to false.. it gives run time error and doesn&#039;t render the chart.. what should be done for that? because items array of areasSeries shows only non-null values.. what if i want all values in items array including all nulls.. 

Any pointers would be highly appreciated...
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>For Area Series when filterData property is set to false.. it gives run time error and doesn&#8217;t render the chart.. what should be done for that? because items array of areasSeries shows only non-null values.. what if i want all values in items array including all nulls.. </p>
<p>Any pointers would be highly appreciated&#8230;<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

