Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ianf123
Helper II
Helper II

Force Directed Graph Line Colours Display?

Hi,

 

I have a Force Directed Graph which uses Link Type for determine line colours. Is there a way to display the colour assigned to each value (ie a colour key)?

1 ACCEPTED SOLUTION

Hi @ianf123 ,

 

There are only three options for the color of links in this visual. You can't even customize colors for the links.

bbb1.PNG

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I have colour coded links achieved by selecting "By Link Type" in the Links options (Colour).

My "Link Type" field is FUNCTION.

 

I have 4 different functions which are correctly being colour coded - ie the links appear a different colour depending on FUNCTION.

I would like to see the possible values displayed with an indicator of the colour assigned to each possible valu

 

Is there a way to show a "colour key chart" ?

 

eg as follows

 

If my 4  possible functions are :

APPLES

BANANAS

ORANGES

STRAWBERRIES

 

I would like to see on the screen:

 

APPLES (displayed in same colour as assigned to the APPLES links by the visual, or with a line in the same colour as the colour assigned)

BANANAS  (displayed in same colour as assigned to the BANANAS links by the visual or with a line in the same colour as the colour assigned)

ORANGES  (displayed in same colour as assigned to the ORANGES links by the visual or with a line in the same colour as the colour assigned)

STRAWBERRIES (displayed in same colour as assigned to the STRAWBERRIES links by the visual or with a line in the same colour as the colour assigned)

 

 

 

Hi @ianf123 ,

 

There are only three options for the color of links in this visual. You can't even customize colors for the links.

bbb1.PNG

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.