Skip to content
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

Deprecated text / use hovertext for traces that don't support on-graph text #3450

Closed
etpinard opened this issue Jan 18, 2019 · 2 comments · Fixed by #3553
Closed

Deprecated text / use hovertext for traces that don't support on-graph text #3450

etpinard opened this issue Jan 18, 2019 · 2 comments · Fixed by #3553
Assignees
Labels
feature something new
Milestone

Comments

@etpinard
Copy link
Contributor

Attribute hovertext got added (first in #1523) for traces that support on-graph text. There are all the scatter* traces, pie and bar. Traces that support hover but do not support on-graph text currently use text to set the "hover" text. As @nicolaskruchten points out, this is a little confusing.

So, should we deprecate text (while renaming hovetext) in traces that do not support on-graph text?

@nicolaskruchten
Copy link
Contributor

We could start by just adding hovertext in the relevant places... that increases consistency and breaks nothing :)

@etpinard etpinard added feature something new and removed status: discussion needed labels Jan 18, 2019
@alexcjohnson
Copy link
Collaborator

Agreed that the end state should be no text attributes that only ever appear on hover. But we should look at the traces that currently have no on-graph text and figure out which ones we can imagine adding it to in the future, before actually removing the text attribute (in a major bump).

But yes, step 1 can be adding hovertext everywhere it's relevant.

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.

3 participants