Skip to content

Alignment and offset aren't enough for label positioning  #419

Open
@alexcroox

Description

@alexcroox

I have a challange where a data point is on the top right of the graph. I need to prevent the label from cutting off with 2 challenges:

  1. Multiple lines in the label so I need to offset the vertical position to stop it clipping the top
  2. Wide label so I need to offset the horizontal position to stop it clipping the right

I can do 1. but not combined with 2.

Especially if the dynamic data is a tall wide line, I can have a large offset at 240degrees to solve the horizontal clipping, but then the top of the label is too far away from the point.

image

Ideally we'd have an offset top,right,left,bottom to have more flexibility.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions