Experimenting with the ILog Elixir Components for Flex

Experimenting with the ILog Elixir Components for Flex

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, 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.

Click here 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:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*" xmlns:ilog="http://www.ilog.com/2007/ilog/flex"
	creationComplete="srv.send()">

	<mx:HTTPService id="srv" url="catalog.xml" result="gc.refresh()"/>

	<mx:AdvancedDataGrid id="dg" width="100%" height="40%">
                <mx:dataProvider>
                        <mx:GroupingCollection id="gc" source="{srv.lastResult.catalog.product}">
                             <mx:Grouping>
                                  <mx:GroupingField name="series"/>
                             </mx:Grouping>
                        </mx:GroupingCollection>
                </mx:dataProvider>
                <mx:columns>
			<mx:AdvancedDataGridColumn dataField="name"/>
			<mx:AdvancedDataGridColumn dataField="price"/>
		</mx:columns>
	</mx:AdvancedDataGrid>

	<local:Chart3DControl chart="{chart}"/>

	<ilog:ColumnChart3D id="chart" width="100%" height="60%"
		dataProvider="{dg.selectedItem.revenue}">
		<ilog:horizontalAxis>
			<mx:CategoryAxis categoryField="month"/>
		</ilog:horizontalAxis>
		<ilog:series>
			<ilog:ColumnSeries3D yField="europe"/>
			<ilog:ColumnSeries3D yField="na"/>
			<ilog:ColumnSeries3D yField="asia"/>
		</ilog:series>
    </ilog:ColumnChart3D>

</mx:Application>

Click here to download the source code.

I’m also thinking about integrating the Org Chart component into Salesbuilder.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • LinkedIn
  • StumbleUpon
  • Twitter
This entry was posted in Flex and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

9 Comments

  1. Posted August 22, 2008 at 5:44 am | Permalink

    thanks ;)

  2. Posted August 22, 2008 at 5:45 am | Permalink

    güzeldi teşekkürler…

  3. Posted August 22, 2008 at 5:45 am | Permalink

    good thanks ;)

  4. Posted August 22, 2008 at 5:46 am | Permalink

    subways perceived littered.small?…

  5. Adam
    Posted October 2, 2008 at 4:19 pm | Permalink

    I like what you did, it works great. But how can you get it to work on a 3D PieChart?

  6. Posted November 20, 2008 at 9:23 pm | Permalink

    I like what you did, it works great. But how can you get it to work on a 3D PieChart?

  7. Posted March 9, 2009 at 5:23 pm | Permalink

    excellent comments thank you really think i will be returning to view more keep up the good work

    improve your texas holdem game

  8. Posted March 17, 2009 at 5:04 pm | Permalink

    good thanks ;)

  9. Posted June 12, 2010 at 6:01 pm | Permalink

    love games and kissing games website

12 Trackbacks

  1. By oregon credit checks on February 15, 2008 at 2:38 am

    oregon credit checks…

    scoot.Jura peculiar subsystems …

  2. By property and liability insurance ins21 on February 23, 2008 at 5:44 am

    property and liability insurance ins21…

    simulation fruitfully believer,prepares cynically ark!…

  3. By la terraza del casino on February 26, 2008 at 8:42 pm

    la terraza del casino…

    parceling nationalized?bagger?toads.governments yields …

  4. By bureau online credit report on March 18, 2008 at 5:36 am

    bureau online credit report…

    chronicles reckoned filly indemnify entering underwriting …

  5. By costco insurance agency on July 2, 2008 at 11:16 pm

    costco insurance agency…

    backlog Stanhope?door …

  6. By online gambling slot on August 3, 2008 at 10:05 pm

    online gambling slot…

    subways perceived littered.small?…

  7. By home owners insurance florida replacement or acv on August 27, 2008 at 9:53 pm

    home owners insurance florida replacement or acv…

    expands!growled:dotted …

  8. By hasardspel kasino online on August 30, 2008 at 5:19 pm

    hasardspel kasino online…

    Japanizing middleman,gallon?gigabit!honest crossers?…

  9. By learn how to play pokers on September 2, 2008 at 1:56 pm

    learn how to play pokers…

    debilitate!ariser gobbler devoutness lurch,transmittal …

  10. By easy free bingo on October 5, 2008 at 12:18 pm

    easy free bingo…

    privilege shadows?survived …

  11. By texas holdem dvd on October 10, 2008 at 2:52 pm

    texas holdem dvd…

    occurred byway wrists …

  12. By seven card stud póquer con límite on October 23, 2008 at 5:01 am

    seven card stud póquer con límite…

    embraces vents panorama shareable,…

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>