0 Replies Latest reply on Jun 3, 2009 11:32 AM by aprildavid

    how to add background to chart using action script

    aprildavid Level 1

      Following is the code in MXML:

      <mx:Array id="backgroundContents">
                <mx:Image source="Assets/NFS_CHART_BGR.jpg" horizontalAlign="center" height="{MAIN_CHART_HEIGHT-20}"/>
                <mx:GridLines id="backgroundGrid"  horizontalStroke="{new Stroke(0xFFFFFF, 1)}" verticalStroke="{new Stroke(0xFFFFFF, 1)}" />

      How to write it in action script?