Forum Discussion
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/file/d/1CrkoXuod3_1bTXewxXhnTUO3a9TOwAEn/view?usp=sharing
Thank you for your help
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.
2 Replies
- giammariamSolution Sage
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.
- PBI_37Helper I
Thank you very much giammariam