Hi Dinesh,

    *Use "fillFunction"n barseries,*

     private function colorFillFunction(element:ChartItem,
    index:Number):IFill {     
            var item:Barseriesitem= BarSeriesItem(element);
            var value:Number = Number(item.yValue);   

            if (users >50) {             
                return solidcolor1;
            } else if(users<20
                return solidcolor2;
            }else
    if((users<Number(enc.text))&&(users<Number(stc.text))){         
                return solidcolor3;
            }
            return solidcolor1;
        }


    Hop this will help to you...


    *Gnanz.../*
    http://gnanz-flexworld.blogspot.com





dinesh wrote:
> Hi all,
>
> I have a Data Series being shown on a Bar Chart.
>  This data series has say certain range value from 10-50.now, I want
> to show  data 10-50 in Red color and the other  data points
>  in different color say 0-10 in green colour and 50-100 in blue
> colur...
>
> Thanks ,
> Dinesh
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to