-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
:interactionsInteractions related issueInteractions related issue:legendLegend related issueLegend related issue:xyBar/Line/Area chart relatedBar/Line/Area chart relatedbugSomething isn't workingSomething isn't working
Description
Describe the issue
The legend gets shortened and truncated when displaying the current series value if the series name is pretty short and there isn't a valid last value in the series.
This happens due to the following causes:
- the automatically computed legend size depends on both the series name size and the legend extra value
- if the default legend extra value (the last value in the series) is not available, then the size of the extra value is zero
- with a short series name and a zero default extra value size, the overall legend size is pretty short too, causing any current hovered value to be displayed on top of the current series name
To Reproduce
Steps to reproduce the behavior:
- Go to codesandbox
Expected behaviour
A bit of buffer should always be present
Metadata
Metadata
Assignees
Labels
:interactionsInteractions related issueInteractions related issue:legendLegend related issueLegend related issue:xyBar/Line/Area chart relatedBar/Line/Area chart relatedbugSomething isn't workingSomething isn't working