1 Reply Latest reply on Jun 15, 2009 7:34 AM by Michael Borbor

    Does Flex support mx.charts.renderers.DiamondItemRenderer ?

    smilydolphin

      I have one chart project in flex builder, and I tried to build it in Flex sdk using ant task. I am getting the following error.

       

      Error: Unable to locate specified base class 'mx.charts.renderers.DiamondItemRenderer' for component class 'MyChart_inlineComponent1'.

       

      I copied flexTasks.jar to the ant directory, and uses the default ant build file like:

       

      <target name="main">
              <mxmlc file="${APP_ROOT}/src/MyChart.mxml" keep-generated-actionscript="true">
                  <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                  <source-path path-element="${FLEX_HOME}/frameworks"/>
              </mxmlc>
          </target>

       

       

      I am wondering whether flex SDk support mx.charts.renderers.DiamondItemRenderer, and if it does, then what I need to do to make it work in Flex SDK.

       

      Thanks in advance.

        • 1. Re: Does Flex support mx.charts.renderers.DiamondItemRenderer ?
          Michael Borbor Level 4

          The charting components are not a part of the free Flex SDK, but a 

          part of Flex Builder.

           

          Sincerely,

           

          Michael

           

          El 15/06/2009, a las 9:29, smilydolphin <forums@adobe.com> escribió:

           

          >

          I have one chart project in flex builder, and I tried to build it in 

          Flex sdk using ant task. I am getting the following error.

          >

          Error: Unable to locate specified base class 

          'mx.charts.renderers.DiamondItemRenderer' for component class 

          'MyChart_inlineComponent1'.

          >

          I copied flexTasks.jar to the ant directory, and uses the default 

          ant build file like:

          >

          <target name="main">

                  <mxmlc file="$/src/MyChart.mxml" keep-generated-

          actionscript="true">

                      <load-config filename="$/frameworks/flex- > config.xml"/> >             <source-path path-element="$/frameworks"/>

                  </mxmlc>

              </target>

          >

          >

          I am wondering whether flex SDk support 

          mx.charts.renderers.DiamondItemRenderer, and if it does, then what I 

          need to do to make it work in Flex SDK.

          >

          Thanks in advance.

          >