Describe the bug
The tooltip shows the specId value instead of the name if specified.
To Reproduce
Steps to reproduce the behavior:
- Create a simple Chart
- Add a
name prop to the series different from the specId
- 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
Describe the bug
The tooltip shows the
specIdvalue instead of thenameif specified.To Reproduce
Steps to reproduce the behavior:
nameprop to the series different from the specIdspecIdinstead of the nameExpected behavior
The
nameproperty, if exist, should take precedence on the specIdScreenshots

Version (please complete the following information):
Additional context
Regression
5c35a4d#diff-551c93b1f051b0ef3056c7f06c477471R48-R58
Errors in browser console
n/a
Kibana Cross Issues
elastic/kibana#47612
Checklist
Kibana Cross Issueslistkibana cross issuetag is associated to the issue if any kibana cross issue is present