6 Replies Latest reply on Jun 18, 2007 9:43 PM by srinivasanramasamy

    3D chart

    srinivasanramasamy Level 1
      Hi All,
      I have the following error in my flex application. How can i solve this error?

      quote:

      Could not resolve <fc:Column3DChart> to a component implementation


      Thanks,
      Srinivas r
        • 1. Re: 3D chart
          Oddsy Level 1
          By ensuring your namespace declaration for "fc" is correct and/or ensuring the files are located in the appropriate place.
          • 2. Re: 3D chart
            srinivasanramasamy Level 1
            Hi ,
            I copied the code from net. I think some componends are missing. But i do not know how to cheak it out.

            thanks,
            Srinivas r.
            • 3. Re: 3D chart
              Oddsy Level 1
              You'll have to post some code or a link to where you got the code from, otherwise helping is virtually impossible.
              • 4. Re: 3D chart
                srinivasanramasamy Level 1
                Hi,
                Thanks for your reply..

                This is the code where i have an error..

                <?xml version="1.0" encoding="iso-8859-1"?>
                <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 medals:Array = [
                {country: "USA", gold: 50, silver: 25, bronze:40},
                {country: "China", gold: 48, silver: 40, bronze:25},
                {country: "Russia", gold: 38, silver: 32, bronze:45},
                {country: "Germany", gold: 35, silver: 25, bronze:39},
                {country: "India", gold: 14, silver: 15, bronze:28}
                ];


                ]]>
                </mx:Script>

                <mx:Style>
                @font-face
                {
                font-family: MyArial;
                src: local("Arial");
                }
                Column3DChart {
                font-size: 14;
                font-family: MyArial;
                }
                </mx:Style>

                <mx:Panel title="Charts" width="100%" height="100%">
                <fc:Column3DChart id="mychart" type="clustered" angleX="30" angleY="30" height="100%" width="100%" >

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

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

                <fc:series>
                <mx:Array>
                <fc:Column3DSeries dataProvider="{medals}" yField="gold" displayName="Gold">
                <fc:fill>
                <mx:SolidColor color="#EEEE00"/>
                </fc:fill>
                </fc:Column3DSeries>
                <fc:Column3DSeries dataProvider="{medals}" yField="silver" displayName="Silver">
                <fc:fill>
                <mx:SolidColor color="#CCCCFF"/>
                </fc:fill>
                </fc:Column3DSeries>
                <fc:Column3DSeries dataProvider="{medals}" yField="bronze" displayName="Bronze">
                <fc:fill>
                <mx:SolidColor color="#CC9900"/>
                </fc:fill>
                </fc:Column3DSeries>
                </mx:Array>
                </fc:series>
                </fc:Column3DChart>

                <mx:Legend dataProvider="{mychart}"/>
                </mx:Panel>

                </mx:Application>

                Thanks,
                • 5. Re: 3D chart
                  Oddsy Level 1
                  Well http://www.adobe.com/2006/fc doesn't exist so the fc namespace declaration cannot resolve. Hence it being unable to resolve Column3DChart. To fix it either find the correct url namespace declaration or obtain the library and use a local namespace declaration instead.
                  • 6. Re: 3D chart
                    srinivasanramasamy Level 1
                    Hi,

                    I do not know how to obtain the library and used in local namespace declaration. How to do it?

                    Thanks,