Skip to content

Hoverlabel contents alignment #3726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nicolaskruchten opened this issue Apr 4, 2019 · 5 comments · Fixed by #3753
Closed

Hoverlabel contents alignment #3726

nicolaskruchten opened this issue Apr 4, 2019 · 5 comments · Fixed by #3753
Assignees
Labels
feature something new
Milestone

Comments

@nicolaskruchten
Copy link
Contributor

nicolaskruchten commented Apr 4, 2019

We should add an attr to control hoverlabel contents alignment, mostly to be able to force right-alignment even when the hoverlabel is on the left.

@etpinard
Copy link
Contributor

etpinard commented Apr 4, 2019

Related: #3010

@nicolaskruchten
Copy link
Contributor Author

Well, what I'm proposing is much narrower than #3010 but yes that would be nice too :)

Can we get this attr slotted in for 1.47 ? with default = auto encompassing the current behaviour ?

@etpinard etpinard added the feature something new label Apr 4, 2019
@etpinard etpinard self-assigned this Apr 4, 2019
@etpinard etpinard added this to the v1.47.0 milestone Apr 4, 2019
@etpinard
Copy link
Contributor

etpinard commented Apr 8, 2019

By alignment here, you mean:

  • the alignment of the text content inside the hover label with respect the hover label container? or
  • the alignment of the hover label with respect to its corresponding data point(s)?

@nicolaskruchten
Copy link
Contributor Author

Text within box

@nicolaskruchten
Copy link
Contributor Author

related #260

@nicolaskruchten nicolaskruchten changed the title Hoverlabel alignment Hoverlabel contents alignment Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants