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

Request for legend title and group name on tooltips #1011

Closed
nagmak opened this issue May 3, 2021 · 7 comments
Closed

Request for legend title and group name on tooltips #1011

nagmak opened this issue May 3, 2021 · 7 comments

Comments

@nagmak
Copy link

nagmak commented May 3, 2021

Summary

Stacked Bar chart and Grouped Line chart tooltips are not clear, we are requesting an additional legend title value that can appear on the chart next to the legend and also appears on the tooltips.

Justification

We are showing a lot of different kinds of data to the users, and this makes it very confusing if they don't have a clear description of the groups they're looking at. For example: We want the user to be able to tell directly from the legend and the tooltips that they're looking at Server IPs vs Client IPs.

Desired UX and success metrics

User is able to look at the stacked bar chart or grouped line chart and immediately know which group they are working with by seeing the legend title on the chart itself. Also, on hovering on the chart, they should see the correct group name (same as the legend value) on the tooltip to indicate the same.

"Must have" functionality

  • Legend name next to the legend values
  • Tooltip should contain the name of the group on hover

Specific timeline issues / requests

Do you want this work within a specific time period? Is it related to an
upcoming release? Ideally for our next release for Data Security - Insights UI

NB: The Carbon team will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!

More info

Hovering above any bar in the middle brings a tool tip with X-axes name and value, and a list of group values with count. This tooltip table is not very intuitive - the first row has a name of the X-axis, whilst other rows do not explain what group values are being referred to. It simply says 'Group', we want to be able to customize that for readability.

image-2021-04-09-17-59-08-116
image-2021-04-09-18-00-01-555

Here's a link to the sandbox: https://codesandbox.io/s/small-water-koihi?file=/src/index.js

@tw15egan tw15egan transferred this issue from carbon-design-system/carbon May 3, 2021
@theiliad
Copy link
Member

theiliad commented May 3, 2021

Hi, this is all already available, you just need to add axis titles https://codesandbox.io/s/condescending-morse-h0z4b

image

@theiliad theiliad closed this as completed May 3, 2021
@theiliad theiliad added the type: invalid This doesn't seem right label May 3, 2021
@nagmak
Copy link
Author

nagmak commented May 4, 2021

Hey @theiliad actually I wasn't referring to the axes title, we already do have that in place. I'm referring to the legend itself, it currently does not have a title option there.

@theiliad
Copy link
Member

theiliad commented May 5, 2021

Could you pls explain further what it is that you're looking to achieve?

@nagmak
Copy link
Author

nagmak commented May 27, 2021

@theiliad Hey! We are already using axes titles - 'Count' for y-axis and in this example 'DB User' for the x-axis. We also want to show the user the title of the group dataset in a stacked bar chart - this is the 'Server IP' values that appear on the legend. So we need a separate title for legend to indicate what these numbers mean.

Screen Shot 2021-05-27 at 5 35 31 PM

Screen Shot 2021-05-27 at 5 35 31 PM

@theiliad theiliad reopened this Jun 9, 2021
@theiliad
Copy link
Member

theiliad commented Jun 9, 2021

Probably will be addressed in #1013

@theiliad
Copy link
Member

Unfortunately not much demand around this feature, and I haven't seen anybody putting together any specs. Will close for now

@theiliad theiliad closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2023
@philmas
Copy link

philmas commented Dec 6, 2023

That is unfortunate. Would be keen to have this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants