Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent tooltip title formatting for multiple-y-series tooltip configuration when only value formatter is provided #4811

Closed
rahulr-96 opened this issue Nov 15, 2024 · 0 comments · Fixed by #4812
Labels
bug Something isn't working

Comments

@rahulr-96
Copy link
Contributor

Description

There is an inconsistency in the tooltip label behavior with tooltip that targets multiple y series when a formatter function is provided only for the tooltip value. The default formatter applied to the tooltip title differs in this case compared to when no formatter is provided at all.

Steps to Reproduce

  1. Configure a tooltip with a custom formatter to multiple y series for the value only.
  2. Observe the default formatting applied to the tooltip title.
  3. Compare this with the tooltip behavior when no formatter is provided.

Expected Behavior

The default formatter for the tooltip title should remain consistent regardless of whether a value formatter is supplied.

Actual Behavior

The default formatter applied to the tooltip title changes when a value formatter is used without a title formatter.

Screenshots

image

Reproduction Link

https://codepen.io/rahulr-96/pen/dyxrQrL

@rahulr-96 rahulr-96 added the bug Something isn't working label Nov 15, 2024
@rahulr-96 rahulr-96 mentioned this issue Nov 15, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant