Forum Discussion

FR5702's avatar
FR5702
Helper I
8 years ago
Solved

Color and shapes legend

Hi all,

 

I want to add a legend to my custom chart. It is a map where you can represent 4 dimensions ( axis X, axis Y, color and shape).

So  I create a "classic" legend for my colors :

 

 

But what I truly want it's this:

 

My first question is : how can I change the circle to box or line or triangle ? I can't find where is the parameter to change... I try to change the icon in my renderLegend function :

 

It didn't change anything...

How can I do this ? Do anyone has done something similar ? Or has any tips on how to do it ?

Thank you !

  • Thanks for reporting this issue. We added it to our backlog (#27140).

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

  • There's no workaround because this feature has not been implemented yet.

    We'll update once it's implemented and published.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

9 Replies

  • v-viig's avatar
    v-viig
    Community Champion

    Thanks for reporting this issue. We added it to our backlog (#27140).

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

    • FR5702's avatar
      FR5702
      Helper I

      Thanks v-viig !

       

      So if I want my legend to show me the right shapes, I have to wait the resolution of this issue ? Or a workaround is possible ?

       

      • v-viig's avatar
        v-viig
        Community Champion

        There's no workaround because this feature has not been implemented yet.

        We'll update once it's implemented and published.

         

        Ignat Vilesov,

        Software Engineer

         

        Microsoft Power BI Custom Visuals

        [email protected]

  • Still looking for this feature in 2025.  My tableau license exists for this one basic reason.