Thanks Ely, That's just the response I wanted - I know it's not nice modifying the source, but it seemed the easiest way! I did try your site, but couldn't anything (though I didn't really know what I was looking for), but I'll check again later.
Thanks, Danny --- In [email protected], "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > > > Hi Daniel. > > - the charts all have a style called chartSeriesStyles. This style is an > array of strings, each mapping to the name of a CSS selector. These are > the selectors that the chart applies to each series, in turn, to get > different colors, strokes, etc. per series. > - each chart type sets up a set of default selectors, and stuffs the > names of those selectors into the chartSeriesStyles style. This is how > LineCharts give different strokes to each line series, while > columnCharts give different fills to each column series. > - the default styles set up by each chart type uses that default halo > colors array as a basis for setting up those selectors. > > > So rather than modifying the defaultColors array, I'd suggest you > instead just set up your own chartSeriesStyles selectors, with your own > colors. I believe there's an example in my chart sampler at > http://www.quietlyscheming.com/ > > Ely. > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Daniel Tuppeny > Sent: Monday, October 16, 2006 4:56 AM > To: [email protected] > Subject: [flexcoders] How do I recompile charts? > > > > I've modified the defaultColors list in the HaloDefaults.as, to > customise the colours that appear in pie chart wedges, but it seems my > app is using a pre-compiled version, and I don't see the changes. > > I can't find any way to rebuild the charts (without a lot of faffing > around), as there's no build file, and when I try referencing the > source folders and removing the reference to charts.swc, I just get > loads of errors (such as mx:Application and mx:PieChart not being > valid, even though they still appear in the intellisense. > > How can I get these changes to the default colours into my project? If > there's a better way (I'd rather not modify the source on 5 developer > machines, but I don't want to have to write loads of code either). > > Thanks > ________________________________ > > The information contained in this e-mail and/or any attachments is > confidential and intended only for the individual(s) to which it is > addressed. If you are not named as an addressee you must not disclose, > copy or take any action in reliance of this transmission. This e- mail > and its attachments have been scanned for viruses by MessageLabs Ltd. > > > _____________________________________________________________________ _ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > _____________________________________________________________________ _ > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

