Hi!
Is there a way to display the arrow styled (color, plus bold/dashed) in a legend table?
The only workaround I found is using a state (not legend):
!define MAIN_STYLE_ACTIVE_COLOR #007700
!define MAIN_STYLE_ACTIVE_OUT [bold,MAIN_STYLE_ACTIVE_COLOR]
!define MAIN_STYLE_SLEEP_COLOR #000077
!define MAIN_STYLE_SLEEP_OUT [bold,MAIN_STYLE_SLEEP_COLOR]
state "Arrows (relations)" as Arrows #White : | Style | Meaning |\n| <color:MAIN_STYLE_ACTIVE_COLOR>**MAIN_STYLE_ACTIVE_OUT**</color> | Active Mode out |\n| <color:MAIN_STYLE_SLEEP_COLOR>**MAIN_STYLE_SLEEP_OUT**</color> | Sleep Mode out |\n|
etc.
So, i get something like this:
|
Style |
Meaning |
|
[bold,#007700] |
Active Mode out |
|
[bold,#000077] |
Sleep Mode out |
But it is not exactly how I want my legend to look. Instead of color and style code i'd like the styled arrow itself to appear in the legend. Is there something better I could do about it?