2 Replies Latest reply on May 17, 2007 8:54 AM by compubrook

    Area Chart Fill

    compubrook
      Is it possible to fill a chart with a pattern instead of a solid colour?
        • 1. Re: Area Chart Fill
          peterrowe
          It is.

          If you put the following inside a ColumnSeries for eample you will get a green gradient color. Each of the three values are vertical colors on the colume from left to right:

          <mx:fill>
          <mx:LinearGradient>
          <mx:entries>
          <mx:Array>
          <mx:GradientEntry color="#006200" ratio="0" alpha="100"/>
          <mx:GradientEntry color="#009700" ratio="0.1" alpha="100"/>
          <mx:GradientEntry color="#00C000" ratio="0.9" alpha="100"/>

          </mx:Array>
          </mx:entries>
          </mx:LinearGradient>
          </mx:fill>

          • 2. Re: Area Chart Fill
            compubrook Level 1
            What if I wanted the pattern to be, say plaid?