Skip to content

labelalias should have the option to not affect hover labels or unified hover title #5328

@00rebe

Description

@00rebe

Currently, xaxis.labelalias/yaxis.labelalias changes both the axis tick labels and the hover labels / unified hover title. In some use cases, users want to display friendly axis labels but keep the hover title showing the raw data value.

Using tickvals/ticktext is a workaround but requires manually updating tick mappings if the axis data changes dynamically.

The new unifiedhovertitle.text allows formatting of the hover title, but it does not support mapping from x/y values to aliases.

Proposed solution:
Add an option for labelalias to only affect axis ticks. Hover labels and unified hover title should still display the underlying raw value unless explicitly overridden.

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