Skip to content

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

Description

@etpinard

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?

Activity

  1. nicolaskruchten commented on Jan 18, 2019

    @nicolaskruchten
    Contributor

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

  2. alexcjohnson commented on Jan 18, 2019

    @alexcjohnson
    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.

  3. added this to the v1.45.0 milestone on Jan 24, 2019
  4. self-assigned this
    on Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions