Skip to content

Tooltip shows specId instead of name prop #411

@markov00

Description

@markov00

Describe the bug
The tooltip shows the specId value instead of the name if specified.

To Reproduce
Steps to reproduce the behavior:

  1. Create a simple Chart
  2. Add a name prop to the series different from the specId
  3. Look at the tooltip, it will show the specId instead of the name

Expected behavior
The name property, if exist, should take precedence on the specId

Screenshots

Version (please complete the following information):

  • OS: all
  • Browser: all
  • Elastic Charts: 13.4.0/master

Additional context
Regression
5c35a4d#diff-551c93b1f051b0ef3056c7f06c477471R48-R58

Errors in browser console
n/a

Kibana Cross Issues

elastic/kibana#47612

Checklist

  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present

Metadata

Metadata

Assignees

Labels

:tooltipRelated to hover tooltipbugSomething isn't workingkibana cross issueHas a Kibana issue counterpartregressionreleasedIssue released publicly

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions