Yeah, unfortunately you can't specify objects in CSS...meaning no strokes or fills (sort of...we cheat and convert numbers to SolidColor fills).
 
 
I have some code that allows you to specify MXML stylesheets, which can include arbitrary MXML in them.  Check it out in the ChartSampler:
 
 
 
Ely.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of zenwarden
Sent: Tuesday, November 07, 2006 1:06 PM
To: [email protected]
Subject: [flexcoders] setting stroke and/or liine stroke in charts via a stylesheet

Does anyone have an example of using a stylesheet to set the stoke
weight and color of a linechart/lineseries?

Here is the style I am using

<mx:Style>
.myChart {

fontSize: 12;
color: #FFFFFF;

}

.myLineSeries {

form: segmet;



}
</mx:Style>

I would like to add
something like:

lineStroke="Stroke(0xE47801,3)"

But that does not seem to work...

I am creating some charts dynamically so cannot specify this stuff
using mxml. Is there a way, at least, to do it programatically -- that
would also work.

Chris

P.S. Yes I have searched for this in the user groups and on the web. I
see no specific examples for linestokes ( other than mxml).

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to