history-explorer-card icon indicating copy to clipboard operation
history-explorer-card copied to clipboard

[FR] Allow some padding / location options to the legend

Open erkr opened this issue 8 months ago • 0 comments

When I have a bar graph with several entities, the legend overlaps with both the "lock" control on the top-left and the "summation" selector on the top-right of the graph:

image

Some padding (move downward) and a location option for the legend would be nice. I think you could make this option:

  # Whether to display the list of entity labels at the top of the graph
  legendVisible: True

could be replaced by a more versatile uiLayout option ('top', 'bottom','hide') as done for other UI elelments:

  uiLayout:
    legend: 'bottom'

erkr avatar May 30 '24 11:05 erkr