<?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>Christophe Coenraets &#187; charts</title>
	<atom:link href="http://coenraets.org/blog/tag/charts/feed/" rel="self" type="application/rss+xml" />
	<link>http://coenraets.org/blog</link>
	<description>Rich Internet Applications, Flex, AIR, Java, Android</description>
	<lastBuildDate>Fri, 23 Jul 2010 14:45:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Interactive Bubble Pipeline: Another Hybrid (HTML/Flex) Example</title>
		<link>http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/</link>
		<comments>http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 06:20:27 +0000</pubDate>
		<dc:creator>Christophe Coenraets</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/</guid>
		<description><![CDATA[A customer recently pointed out to me that many of our examples feature full-page Flex applications, and wanted to me to demonstrate how a Flex application can integrate with an HTML/Ajax application. Hybrid applications are definitely part of our vision for Flex, and there are many real-life examples of mixing Flash and HTML content out [...]]]></description>
			<content:encoded><![CDATA[<p>A customer recently pointed out to me that many of our examples feature full-page Flex applications, and wanted to me to demonstrate how a Flex application can integrate with an HTML/Ajax application. Hybrid applications are definitely part of our vision for Flex, and there are many real-life examples of mixing Flash and HTML content out there (see  <a href="http://finance.google.com/finance?q=adbe">http://finance.google.com/finance?q=adbe</a>). This customer wanted to look at the integration at the code level. Instead of the usual “Hello from Flex”/”Hello from JavaScript” message exchange example, I wanted to show something more meaningful that would also show “why” you would actually want to do this… </p>
<p><span id="more-56"></span></p>
<p>Click <a href="http://coenraets.org/samples/bubblepipeline/pipeline.html">here</a> to start the sample application.</p>
<p>I extracted this example from my Salesbuilder sample. The application is a simple sales pipeline. The X axis is a time axis, the Y axis represents the probability of closing deals (in percent), and the bubbles represent deals: the bigger the bubble, the bigger the deal.</p>
<p>The bubble chart features many “direct manipulation” options: </p>
<ol>
<li>Grab the background of the chart with your mouse and scroll it left and write to navigate along the time axis.</li>
<li>Grab a vertical grid line, and move it left and right to zoom-out/zoom-in.</li>
<li>To modify your pipeline, grab a bubble with your mouse and move it up and down or left and right to adjust the probability and the expected closing date respectively</li>
</ol>
<p><strong>Flex to JavaScript:</strong><br />
When you move bubbles, the Flex application invokes a JavaScript method to update the Projected Revenue which is displayed in plain HTML on the page. </p>
<p><strong>JavaScript to Flex:</strong><br />
You can also add opportunities (deals) using the HTML form at the bottom of the page.<br />
For example, specify “Adobe” as the account, “Big Deal” as the project name, 500000 as the expected revenue, “50” as the days to close, and “70” as the probability.<br />
When you click “Add Opportunity”, we use JavaScript to invoke the addOpportunity() method in the Flex application.</p>
<p>In this example, I use ExternalInterface to communicate between Flex and JavaScript. You can also use the Flex Ajax bridge which provides a higher level API and which is now integrated in FlexBuilder (version 3).</p>
<p>Click <a href="http://coenraets.org/samples/bubblepipeline/pipeline.zip">here</a> to download the source code.</p>
<p>No rocket science here… just another example of a hybrid application.</p>
]]></content:encoded>
			<wfw:commentRss>http://coenraets.org/blog/2007/11/interactive-bubble-pipeline-another-hybrid-htmlflex-example/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Experimenting with the ILog Elixir Components for Flex</title>
		<link>http://coenraets.org/blog/2007/11/experimenting-with-the-ilog-elixir-components-for-flex/</link>
		<comments>http://coenraets.org/blog/2007/11/experimenting-with-the-ilog-elixir-components-for-flex/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 03:34:52 +0000</pubDate>
		<dc:creator>Christophe Coenraets</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[ilog]]></category>

		<guid isPermaLink="false">http://coenraets.org/blog/2007/11/experimenting-with-the-ilog-elixir-components-for-flex/</guid>
		<description><![CDATA[I spent some time playing with the ILog Elixir components for Flex. If you haven’t checked them out they are definitely worth looking at. Live samples are available here: http://www.ilog.com/products/elixir/ I experimented with the 3D charts components which definitely provide a good example of the expressiveness of the Flex platform. Looking at the sample code, [...]]]></description>
			<content:encoded><![CDATA[<p>I spent some time playing with the ILog Elixir components for Flex. If you haven’t checked them out they are definitely worth looking at. Live samples are available here: <a href="http://www.ilog.com/products/elixir/">http://www.ilog.com/products/elixir/</a></p>
<p>I experimented with the 3D charts components which definitely provide a good example of the expressiveness of the Flex platform. Looking at the sample code, it looks like you can’t simply enable the 3D mouse interactivity (click and drag to rotate, mouse wheel to zoom in / zoom out) by setting a component property: you actually have to write some code, capture mouse events, etc… In my own experimentation, I isolated that code in a reusable Chart3DControl component that makes it easy to provide this kind of mouse interactivity in any component in your application.</p>
<p><span id="more-55"></span></p>
<p>Click <a href="http://coenraets.org/samples/ilog/demo.html">here</a> to launch my simple test application… an AdvancedDataGrid (providing row grouping) and a 3D ColumnChart: Click an item in the AdvancedDataGrid to visual drill-down using the 3D column chart. This application works with just 35 lines of code:</a></p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; xmlns:local=&quot;*&quot; xmlns:ilog=&quot;http://www.ilog.com/2007/ilog/flex&quot;
	creationComplete=&quot;srv.send()&quot;&gt;

	&lt;mx:HTTPService id=&quot;srv&quot; url=&quot;catalog.xml&quot; result=&quot;gc.refresh()&quot;/&gt;

	&lt;mx:AdvancedDataGrid id=&quot;dg&quot; width=&quot;100%&quot; height=&quot;40%&quot;&gt;
                &lt;mx:dataProvider&gt;
                        &lt;mx:GroupingCollection id=&quot;gc&quot; source=&quot;{srv.lastResult.catalog.product}&quot;&gt;
                             &lt;mx:Grouping&gt;
                                  &lt;mx:GroupingField name=&quot;series&quot;/&gt;
                             &lt;/mx:Grouping&gt;
                        &lt;/mx:GroupingCollection&gt;
                &lt;/mx:dataProvider&gt;
                &lt;mx:columns&gt;
			&lt;mx:AdvancedDataGridColumn dataField=&quot;name&quot;/&gt;
			&lt;mx:AdvancedDataGridColumn dataField=&quot;price&quot;/&gt;
		&lt;/mx:columns&gt;
	&lt;/mx:AdvancedDataGrid&gt;

	&lt;local:Chart3DControl chart=&quot;{chart}&quot;/&gt;

	&lt;ilog:ColumnChart3D id=&quot;chart&quot; width=&quot;100%&quot; height=&quot;60%&quot;
		dataProvider=&quot;{dg.selectedItem.revenue}&quot;&gt;
		&lt;ilog:horizontalAxis&gt;
			&lt;mx:CategoryAxis categoryField=&quot;month&quot;/&gt;
		&lt;/ilog:horizontalAxis&gt;
		&lt;ilog:series&gt;
			&lt;ilog:ColumnSeries3D yField=&quot;europe&quot;/&gt;
			&lt;ilog:ColumnSeries3D yField=&quot;na&quot;/&gt;
			&lt;ilog:ColumnSeries3D yField=&quot;asia&quot;/&gt;
		&lt;/ilog:series&gt;
    &lt;/ilog:ColumnChart3D&gt;

&lt;/mx:Application&gt;
</pre>
<p>Click <a href="http://coenraets.org/samples/ilog/ilogdemo.zip">here</a> to download the source code.</p>
<p>I’m also thinking about integrating the <a href="http://visudemos.ilog.com/webdemos/orgchart/orgchart.html">Org Chart component</a> into Salesbuilder.</p>
]]></content:encoded>
			<wfw:commentRss>http://coenraets.org/blog/2007/11/experimenting-with-the-ilog-elixir-components-for-flex/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Salesbuilder for Flex 3 / AIR Beta 2 (AIR file + source code)</title>
		<link>http://coenraets.org/blog/2007/10/salesbuilder-for-flex-3-air-beta-2-air-file-source-code/</link>
		<comments>http://coenraets.org/blog/2007/10/salesbuilder-for-flex-3-air-beta-2-air-file-source-code/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 21:46:56 +0000</pubDate>
		<dc:creator>Christophe Coenraets</dc:creator>
				<category><![CDATA[Air]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[Offline]]></category>
		<category><![CDATA[Salesbuilder]]></category>

		<guid isPermaLink="false">http://coenraets.org/blog/2007/10/salesbuilder-for-flex-3-air-beta-2-air-file-source-code/</guid>
		<description><![CDATA[I migrated the Salesbuilder application for Flex 3 / AIR beta 2. Click here to install the application. Click here to download the source code. Follow this script for a guide tour of the application.]]></description>
			<content:encoded><![CDATA[<p>I migrated the Salesbuilder application for Flex 3 / AIR beta 2.</p>
<p>Click <a href="http://coenraets.org/air/salesbuilder/beta2/salesbuilder.air">here</a> to install the application.</p>
<p>Click <a href="http://coenraets.org/downloads/salesbuilder_src_beta2.zip">here</a> to download the source code.</p>
<p>Follow <a href="http://coenraets.org/air/salesbuilder/salesbuilder_script.pdf">this script</a> for a guide tour of the application.</p>
]]></content:encoded>
			<wfw:commentRss>http://coenraets.org/blog/2007/10/salesbuilder-for-flex-3-air-beta-2-air-file-source-code/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
	</channel>
</rss>
