flex - How do I set the areaStroke and areaFill properties of an AreaSeries using ActionScript? -
in flex areaseries tag looks this:
<mx:areaseries yfield="profit" displayname="profit" areastroke="{s1}" areafill="{sc1}" />
i creating areachart dynamically using actionscript , want set areastroke , areafill properties don't appear available in actionscript.
so question is, how set these properties dynamically?
areastroke , areafill styles, not properties of areaseries.
in actionscript have this:
myareaseries.setstyle("areastroke",new solidcolorstroke()); myareaseries.setstyle("areafill",new lineargradient());
check out docs mx.graphics.istroke see options , check constructors classes see can set.
Comments
Post a Comment