1 Reply Latest reply on Dec 27, 2010 8:32 AM by Tanu Jain

    Chart series can't change color

    Benoitcn Level 1

      I create different type series in the series block only the columnserie can affect my specified color.

      The other two serie only use the default color. The color like this:


      <mx:ColumnChart id="myChart4" width="527" height="178"
             showDataTips="true" dataProvider="{monthly_data}">
           <mx:ColumnSeries dataProvider="{monthly_data}" yField="lian" displayName="立案数量">
             <s:SolidColor color="0x7c00db" />
           <mx:LineSeries dataProvider="{monthly_data}" yField="huanbi" displayName="环比" >
             <s:LinearGradient rotation="130">
              <s:GradientEntry color="0x808080" alpha=".8" />
              <s:GradientEntry color="0xa1920e" alpha=".6" />
           <mx:LineSeries dataProvider="{monthly_data}" yField="tongbi" displayName="同比" >
             <s:SolidColorStroke color="0xee77aa" alpha=".9" />
             <s:SolidColor color="0x3218e2" alpha="0.4"/>
             <mx:LinearAxis id="v5" labelFunction="defineVerticalLabel" />