adobe / react-spectrum-charts

Build compelling visualizations using declarative react components.
http://opensource.adobe.com/react-spectrum-charts/
Apache License 2.0
65 stars 14 forks source link

feat: bar dimension selection ring #419

Closed rich-b closed 3 weeks ago

rich-b commented 1 month ago

Adds a selection ring for bar charts when highlighting by dimension

Description

When highlighting by dimension, instead of changing the stoke width and color for the bar that was selected, a new selection ring will appear that circles the entire dimension selected.

Related Issue

374

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

image

image

image

image

image image

Types of changes

Checklist:

github-actions[bot] commented 1 month ago

🎨 Storybook -> https://opensource.adobe.com/react-spectrum-charts/PR-419

rich-b commented 3 weeks ago

Thanks @marshallpete, I made some changes. There is still a slight jitter with the extra 5px removed. I've seen this in other areas as well however.

github-actions[bot] commented 3 weeks ago

🎨 Storybook -> https://opensource.adobe.com/react-spectrum-charts/PR-419

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud