<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bucky Schwarz dot Net &#187; PieChart</title>
	<atom:link href="http://buckyschwarz.net/blog/tag/piechart/feed/" rel="self" type="application/rss+xml" />
	<link>http://buckyschwarz.net/blog</link>
	<description>development. gaming. photography. awesome.</description>
	<lastBuildDate>Tue, 13 Jul 2010 16:18:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex 3 Charting Woes</title>
		<link>http://buckyschwarz.net/blog/flex-3-charting-woes/</link>
		<comments>http://buckyschwarz.net/blog/flex-3-charting-woes/#comments</comments>
		<pubDate>Thu, 22 May 2008 01:08:50 +0000</pubDate>
		<dc:creator>Bucky</dc:creator>
				<category><![CDATA[Flex 3 Development]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Charting]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[LiveDocs]]></category>
		<category><![CDATA[pie chart]]></category>
		<category><![CDATA[PieChart]]></category>

		<guid isPermaLink="false">http://buckyschwarz.net/blog/?p=4</guid>
		<description><![CDATA[Last weekend I set out to add some nice little charting touches to the last.fm Flex 3 application I&#8217;m working on only to discover it&#8217;s not as easy as the livedocs on charting make it out to be. I looked over a few examples on the docs and thought I had a decent grasp on [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend I set out to add some nice little charting touches to the <a title="Last.fm" href="http://www.last.fm">last.fm</a> Flex 3 application I&#8217;m working on only to discover it&#8217;s not as easy as the <a title="Flex 3 Charting" href="http://livedocs.adobe.com/flex/3/html/help.html?content=Part1_charting_1.html">livedocs on charting</a> make it out to be. I looked over a few examples on the docs and thought I had a decent grasp on it, so I set out to create my own pie chart, cause, well, pies are delicious.</p>
<p>I started by <em>trying</em> to write the following code:</p>
<pre class="brush: as3;">
&lt;mx:PieChart id=&quot;topArtistsPieChart&quot;
                   dataProvider=&quot;{topCollection}&quot;
                   showDataTips=&quot;true&quot;
                   dataTipFunction=&quot;createDataTips&quot;&gt;
</pre>
<p>I say trying, because as soon as I wrote</p>
<pre class="brush: as3;">&lt;mx:Pi</pre>
<p>I expected Code Assist to jump in and save the day and show me PieChart. Much to my chagrin it didn&#8217;t. Being the developer I am, conditioned to trust everything about Code Assist, I immediately stopped coding and thought to myself <em>double yew tee eff!!</em> and started searching for a reason that it wasn&#8217;t doing work for me.</p>
<p>I spent the better part of a Saturday morning looking through the LiveDocs and doing google searches, all to no avail. It wasn&#8217;t until out of desperation that I emailed the <a href="http://adogo.us">Adogo</a> mailing list and finally got an answer from <a href="http://www.brianlegros.com/blog/">Brian LeGros aka Yoda.</a> He found <a href="http://blog.flexexamples.com/2007/08/27/charting-in-flex-builder-3-public-beta-1-edition/">this posting from FlexExamples.com</a> explaining what the problem was. If you didn&#8217;t click, the problem is that you have to include the datavisualization swc in your project before you can use charting.</p>
<p>This just confused me. First, I&#8217;ve never had to include any swcs from any Adobe libraries before, why would I have to now? Second, and more importantly, if I suddenly have to include swcs from Adobe, why the hell didn&#8217;t they make that clear in their livedocs? I didn&#8217;t see one place in the docs, including the language reference, that mentioned having to include this swc to get the charting functionality. I saw plenty of sentences pimping the professional version by telling me I have to buy it if I don&#8217;t want a watermark, but not a single one saying, &#8220;FIND THE SWC HERE, STUPID!&#8221;</p>
<p>Regardless, as the FlexExamples post says, on Windows, find the swc here: “C:\Program Files\Adobe\Flex Builder 3\sdks\moxie\frameworks\libs\. On OS X, find it at Applications/Adobe Flex Builder 3/sdks/3.0.0/frameworks/libs/. On Linux, ha, Adobe hates you, Linux, good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://buckyschwarz.net/blog/flex-3-charting-woes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
