0 Replies Latest reply on Nov 19, 2008 11:14 AM by yantzgh

    Using css to apply a linear gradient to a ColumnSeries

    yantzgh Level 1
      I'm likely missing something simple, is there a way to apply a LinearGradient to a ColumnSeries via css? The following doesn't work for me...

      var linearGradient:LinearGradient = new LinearGradient();
      linearGradient.entries.push(new GradientEntry(0xF68620, 0, 1));
      linearGradient.entries.push(new GradientEntry(0xF68620, 0.5, 0.25));
      colSeries.setStyle(’fill’, linearGradient);

      ...I assume I'm trying to set the wrong css property.