Forum Discussion

PBI_37's avatar
PBI_37
Helper I
3 years ago
Solved

Deneb visual

Hi everyone, I am new to deneb and trying to learn. In this visual, I woud like to add a legend and format the gap value in bold. Here is the link of the PBI file : https://drive.google.com...
  • giammariam's avatar
    2 years ago

    Hey PBI_37, I made the gap labels bold, but the legend was a challenge. I think I was able to get it done though.

    Legend steps:

    • I created a dummy mark with an opacity of zero. This mark's color channel was used to configure the legend.
    • I added params for the legend symbols (vertical line, rectangle, and double arrows)
    • Colors and sizes were configured based on the datum.label value (i.e. the legend label value)
    • I had to play with the label offset to get things positioned correctly.

    Here's a link to the updated .pbix.

     

    If this is enough to get you going please consider liking this reply and choosing it as the solution. Otherwise, I'm happy to help further.