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

enhancement: add support for granular styling of circle meter with onhover/click #7192

Open
danielm-hpe opened this issue Apr 8, 2024 · 0 comments
Labels
enhancement A suggestion to add to or change behavior

Comments

@danielm-hpe
Copy link

It is a common pattern to highlight hovered data in a visualization, giving it more visual prominence. For status dashboards, we would like to use the circle meter to represent status, and show the number of devices in a status on hover. In order to do this, there need to be some visual cues of what is happening.

The desired enhancement is to add support to the circle meter to specify an increased thickness for the section that is being hovered. In addition, support for specifying the thicknesses of other sections when hovered and not hovered is desired. For example, critical status could default to receiving a thicker treatment, but when hovering warning the critical line would be shown as narrower and the warning line as thicker.

Expected Behavior

Here is an example of the desired kind of control over styling that is desired from the HPE OneView dashboard
image

In the example the critical status line segments are shown as thicker by default, but the actively hovered sections diminish other sections and instead increase the line thickness for the hovered section.

Actual Behavior

Here is an example of the circle meter styling today
image

There is no ability to specify different thicknesses for the circle sections.

URL, screen shot, or Codepen exhibiting the issue

See above screenshots- this is a feature enhancement request, not a defect.

Steps to Reproduce

See above

Your Environment

  • Grommet version: 2.36.1
  • Browser Name and version: chrome
  • Operating System and version (desktop or mobile): Windows 10
@britt6612 britt6612 added the enhancement A suggestion to add to or change behavior label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A suggestion to add to or change behavior
Projects
None yet
Development

No branches or pull requests

2 participants