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

[Bug]: Legend tooltip should not be shown if legend truncation type is set to none #1470

Closed
Akshat55 opened this issue Nov 22, 2022 · 0 comments · Fixed by #1471
Closed

[Bug]: Legend tooltip should not be shown if legend truncation type is set to none #1470

Akshat55 opened this issue Nov 22, 2022 · 0 comments · Fixed by #1471
Assignees
Labels
type: bug 🐛 Something isn't working
Projects

Comments

@Akshat55
Copy link
Collaborator

Contact Details

No response

What happened?

Tooltip is showing even though legend truncation is set to none. This adds inconsistency since if there are groups where character count is less than 16, no tooltip is shown.

If legend truncation type is set to none, then tooltip should not be shown.

Version

@carbon/charts@1.6.1

Data & options used

Pass the following legend options in options parameter:

  "legend": {
    "truncation": {
      "type": "none"
    }
  },

Data must consist of a group where character count is longer than 16



### Relevant log output

_No response_

### Codesandbox example

https://codesandbox.io/s/priceless-butterfly-lgosl1
@Akshat55 Akshat55 added the type: bug 🐛 Something isn't working label Nov 22, 2022
@Akshat55 Akshat55 self-assigned this Nov 22, 2022
@Akshat55 Akshat55 added this to To do in Q4 - 2022 via automation Nov 22, 2022
@Akshat55 Akshat55 moved this from To do to QA/Review in Q4 - 2022 Nov 22, 2022
Q4 - 2022 automation moved this from QA/Review to Done Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant