4 Replies Latest reply: Oct 27, 2015 9:16 AM by Louise Grauss-Spoormaker RSS

    Sequential gradient in a pie chart

    Louise Grauss-Spoormaker

      In Qlik Sense you can choose by measurements a Sequential gradient in a pie chart.

      The color of the Sequential gradient goes from yellow to orange.

      I would like a Sequential gradient in another color, from light gray to dark gray and from light green to dark green.

       

      I thought I found the fx code in an example Qlik Sense app but it's not entirely working.

      Is there anyone who can help me?

       

      The fx code I found is:

       

      Gray

      Colormix1((sum([Field A])-$(=min(aggr( sum([Field A]), [Field B]))))/$(=(max(aggr( sum([Field A]), [Field B]))-min(aggr( sum([Field A]), [Field B])))),white(),RGB(123,122,120))

       

      Green

      Colormix1((sum([Field A])-$(=min(aggr( sum([Field A]), [Field B]))))/$(=(max(aggr( sum([Field A]), [Field B]))-min(aggr( sum([Field A]), [Field B])))),white(),RGB(39,110,39))