Thanks, I already have a solution:
I dynamically create a stroke object and give it the attributes I
want, but I will check out the link( think I already saw it).

Chris



--- In [email protected], "Ely Greenfield" <[EMAIL PROTECTED]> wrote:
>
>  
>  
> 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:
>  
>  
> http://www.quietlyscheming.com/blog/charts/chart-sampler/
>  
> 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 
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/
 

Reply via email to