I would like to simplify my code and add the possible to the css file:
<mx:AreaSeries styleName="timeArea" name="A" yField="A" areaStroke="{new Stroke(0x0033CC, 2)}" areaFill="{new SolidColor(0x0033CC, 0.5)}" />
Can I move areaStroke and areaFill to css ? What would be the resulting css ?
thanks
So, while you can’t specify the strokes in css, you can specify the properties of the strokes, ie:
And your CSS would look like (where myAreaChart is the styleName set on the parent area chart):