Hi guys Thanks for reply... @GnanaPrakasam : I tried ur code ,but i want to achieve differnet colours in same series:-(...
@Preetham: im not getting clearly how to use itemRenderer in chart can u send any links to me.. Actually i want to show the bar series only in particular range ex: 20-30 this portion has to be visible... Is it possible in flex charting... Thanks, Dinesh On Thu, Aug 20, 2009 at 5:34 PM, GnanaPrakasam T <[email protected]>wrote: > 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 -~----------~----~----~----~------~----~------~--~---

