2 Replies Latest reply on Nov 10, 2010 3:50 PM by BugsBn

    3D Chart in Flex (X, Y & Z Axis)

    Tejas S Patel

      Dear All,

       

      I am working on Flex charting stuff.

      I have to present many charts in 3D view (X-axis, Y-axis and Z-axis).

      I read and searched about flex charting but didn't get anything about chart presentation in 3 axis plan.

      Please help me by your thought OR idea about this.

       

      Thank you.

       

      Tejas Patel.

        • 1. Re: 3D Chart in Flex (X, Y & Z Axis)
          Tejas S Patel Level 1

          I got and tried this lines of code but not executed successfully.

          What I had mistake here OR what missing?

           

           

          <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:fc="http://www.adobe.com/2006/fc width="600" height="600" >

          <mx:Script>
          <![CDATA[
            [Bindable] public var place:Array = [
          {country: "India", north: 85, west: 25, east:40},
          {country: "USA", north: 53, west: 40, east:25},
          {country: "UK", north: 45, west: 32, east:45},
          {country: "Japan", north: 60, west: 25, east:39}
          ];

          ]]>
          </mx:Script>

           

          <mx:Style>
                   @font-face{ src: url("assets/verdana.ttf"); fontFamily: myFont; }
                   Column3DChart { fontFamily: myFont; fontSize: 10; }
                  </mx:Style>

           

          <fc:Column3DChart id="my3dchart" type="clustered" angleX="30" angleY="30" height="100%" width="100%" >

               <fc:horizontalAxis>
                    <mx:CategoryAxis dataProvider="{place}" categoryField="country" />
               </fc:horizontalAxis>

               <fc:verticalAxis>

                    <mx:LinearAxis minimum="0" maximum="70"/>

               </fc:verticalAxis>

               <fc:series>

                    <mx:Array>

                      <fc:Column3DSeries dataProvider="{place}" yField="north" displayName="North">

                          <fc:fill>

                              <mx:SolidColor color="#EEEE00"/>
                          </fc:fill>           
                      </fc:Column3DSeries>
                      <fc:Column3DSeries  dataProvider="{place}" yField="west" displayName="West">
                          <fc:fill>
                              <mx:SolidColor color="#CCCCFF"/>
                          </fc:fill>           
                      </fc:Column3DSeries>
                      <fc:Column3DSeries  dataProvider="{place}" yField="east" displayName="East">
                          <fc:fill>
                              <mx:SolidColor color="#CC9900"/>
                          </fc:fill>           
                      </fc:Column3DSeries>
                    </mx:Array>
                  </fc:series>
                </fc:Column3DChart>

          <mx:Legend dataProvider="{my3dchart}"/>

          </mx:Application>

          • 2. Re: 3D Chart in Flex (X, Y & Z Axis)
            BugsBn

            can someone plz tell me how to access the 3D chart component if there is one.

            i've searched for them in the visualization package but could not find it.

            only found it in some commercial packages.

            i've searched the forum and found below post referencing <fc:Column3DChart> - where is it?

             

            can someone from adobe inform if/when 3D charting is available.

             

            thanks

            Gary