-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
@00rebe
Description
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.