3 Replies Latest reply on Oct 27, 2006 2:59 AM by romanczar

    How to style a LineSeries Chart with CSS in Flex Builder 2

    romanczar Level 1
      Hi!
      I try to use CSS to style my charts. I found some code in a forum for filling areas. Right now My CSS looks like


      .style {
      chart-series-styles: style01, style02;
      }
      .style01 {
      fill: #ff0000;
      }
      .style01 {
      fill: #00ff00;
      }


      The problem is, this does not color the LINES, only the item dots if I use a itemRenderer and the dots in the legend. But the lines remain black.

      Using line-stroke: #ff0000; gives an error in the browser.

      What is the right and WORKING attribute to color the lines? Has anybody already done this?

      Regards
      RG