Thanks for the reply. If we use the fill style it means having one style for every possible color we will use and then it means that every series has to be explicitly set with that style which is a mammoth task and it means we need to go through and review every single chart to make sure the style are applied in the right order ie series1 is red, series2 is green.... even in cases where they are being built in code so you need to check conditional statement which may or may not add a series
Over a very large applicaton with many charts thats a lot of work.. Whereas currently just using the Adobe colors it no work at all, they are always in the same order however many series we add to a chart, even if we build a chart dynamically and add series on the fly it still is correct. So what I was looking for is some way to specify the pallete of colors that will be used in a chart. --- In flexcoders@yahoogroups.com, "Sunil Bannur" <[EMAIL PROTECTED]> wrote: > > use the fill style rather than fills. > > Thanks > -Sunil > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of reflexactions > Sent: Wednesday, January 23, 2008 12:54 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Setting custom fills array in a chart > > > > Thanks, > I had tried that but the problem with that is that it doesnt work as > expected. > > This will cause each column in a single series to have a different > color wherease I want all columns in a series to have the same color. > > ie Using the adobe default the first series is all gold, the second > is all green, the third is all blue. > > I want to do the same except I want to change those color to > something else, the something else being a set of colors specified by > the designer. > > There are many, many charts, and any number of series and I want to > simplify it for the developer when they add charts in to the > application. > > tks > > --- In flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > , "Sunil Bannur" <sbannur@> wrote: > > > > <mx:Style> > > .myRedColumnSeries { > > fills: #FF0033, #FF3333, #FF6633; > > } > > .myGreenColumnSeries { > > fills: #33FF00, #33FF33, #33FF66; > > } > > </mx:Style> > > > > .... > > > > <mx:ColumnSeries ... styleName="myRedColumnSeries" /> > > > > > > Thanks > > -Sunil > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > ] On > > Behalf Of reflexactions > > Sent: Wednesday, January 23, 2008 11:16 AM > > To: flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > > Subject: [flexcoders] Setting custom fills array in a chart > > > > > > > > FB3.3 > > > > What I want to do is to specify an array of fill color in CSS that > all > > my charts can use, line/bar etc... > > > > To act exactly as a replacement for the halo default array of chart > > colors. > > > > How can I do this? > > > > tks > > >