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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -