Skip to content

No way to center legend title in horizontal mode when x is set to a value between 0 and 1 #6668

Closed
@GeorgeFlorian

Description

@GeorgeFlorian

I am trying to center a legend title with the legend being in horizontal mode, but there is no way of doing it.
The only prop that modifies the legend's title positioning is side, which does not center it.

The current behavior is that the legend title is always positioned at the beginning of the legend area.

https://codepen.io/bleah1/pen/bGQYvbm?editors=1010

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions