Skip to content

Render bar labels outside the bar #1277

@markov00

Description

@markov00

If there's room past the single bar (in the positive or negative direction, wherever the bar extends toward) then the label would be outside the bar. There's more text contrast there. Example

We can consider two ways to achieve the result:

  • compute the required room for the labels and adds it to the chart padding
  • if there is no room for the label, just put the label inside the chart rather then outside

Metadata

Metadata

Assignees

No one assigned

    Labels

    :annotationAnnotation (line, rect, text) related issue:xyBar/Line/Area chart relatedenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions