3 Replies Latest reply: Mar 19, 2013 3:50 AM by surffee11 RSS

    Manipulate the color of the pie's of a piechart



      I used this piece of coding in a chart to alter the background colour (on expression) of a pie but all turns into black.


      if(GetCurrentField(#TEST) = 'R', rgb(0,128,0),
            if(GetCurrentField(#TEST) = 'A', rgb(255,255,0));


      has onyone an idea how to get the right colours?