Hi there,

I have installed the new Flex 3 Beta. Also I can have "ILOG" in this 
version of Flex. so I have written the follwing code for creating #D 
Pie Chart in an simple MXML file. There is no error in code, but I 
got the error while compilation :

--------------------------------------------------------------------
 Unable to resolve resource bundle "charts3d" for locale "en_US".
--------------------------------------------------------------------


Code:
=====
<?xml version="1.0" ?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; 
xmlns:ilog="http://www.ilog.com/2007/ilog/flex";>
  <mx:Script>
  <![CDATA[
    import mx.collections.ArrayCollection;
    
    [Bindable]
    public var temperature:ArrayCollection = new ArrayCollection([
      {Month:"January", London:39, Sydney:71.8, Beijing:23.7},
      {Month:"February", London:39.6, Sydney:71.8, Beijing:28.8},
      {Month:"March", London:42.3, Sydney:69.8, Beijing:40.5},
      {Month:"April", London:47.3, Sydney:65.1, Beijing:56.5},
      {Month:"May", London:53.4, Sydney:59.5, Beijing:68},
      {Month:"June", London:59.4, Sydney:55.2, Beijing:75.9},
      {Month:"July", London:62.6, Sydney:53.6, Beijing:78.8},
      {Month:"August", London:61.9, Sydney:55.8, Beijing:76.5},
      {Month:"September", London:57.6, Sydney:59.5, Beijing:67.6},
      {Month:"October", London:50.5, Sydney:63.9, Beijing:54.7},
      {Month:"November", London:43.9, Sydney:67.1, Beijing:39},
      {Month:"December", London:40.6, Sydney:70.2, Beijing:27.3}]);
  ]]>
  </mx:Script>
  <ilog:PieChart3D width="100%" height="100%" 
     dataProvider="{temperature}" showDataTips="true">       
    <ilog:series>
      <ilog:PieSeries3D nameField="Month" field="London"   
         labelPosition="inside"/>
      <ilog:PieSeries3D nameField="Month" field="Sydney"/>
      <ilog:PieSeries3D nameField="Month" field="Beijing" />
    </ilog:series>
  </ilog:PieChart3D>
</mx:Application> 


Reply via email to