Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Color APi to generate gradient

hello,   I would like to know if the colorHelper API offers the possibility to generate a gradient of x color ? using a specific type of interpolation ?   Thank you,
  • v-viig's avatar
    v-viig
    8 years ago

    Anonymous

     

    No, colorHelper doesn't support gradient.

    Please use d3 color scale or our Color Utils as proposed v-chuncz-msft

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]