fast icon indicating copy to clipboard operation
fast copied to clipboard

feature: add gauge component

Open robarbms opened this issue 4 years ago • 7 comments

Pull Request

📖 Description

A gauge component for displaying data for a dashboard. Draft for community input.

🎫 Issues

👩‍💻 Reviewer Notes

📑 Test Plan

I still need to build out tests.

✅ Checklist

General

  • [x] I have included a change request file using $ yarn change
  • [ ] I have added tests for my changes.
  • [x] I have tested my changes.
  • [ ] I have updated the project documentation to reflect my changes.
  • [x] I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

⏭ Next Steps

robarbms avatar Nov 08 '21 00:11 robarbms

Azure Static Web Apps: Your stage site is ready! Visit it here: https://purple-sand-03fe10e10-5373.centralus.azurestaticapps.net

github-actions[bot] avatar Nov 08 '21 00:11 github-actions[bot]

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-coast-0df7a6610-5373.centralus.azurestaticapps.net

github-actions[bot] avatar Nov 08 '21 00:11 github-actions[bot]

Azure Static Web Apps: Your stage site is ready! Visit it here: https://purple-ocean-0b7ce3410-5373.centralus.azurestaticapps.net

github-actions[bot] avatar Nov 08 '21 00:11 github-actions[bot]

What makes this different from a differently styled circular progress?

scomea avatar Nov 18 '21 20:11 scomea

What makes this different from a differently styled circular progress?

Thanks for this draft @robarbms! I have a similar question to @scomea - without the visuals, what is the semantic representation of this component? What role might it map to for AT, etc?

chrisdholt avatar Nov 19 '21 19:11 chrisdholt

This started as a larger concept. A set of data visualizations. The gauge component became the simplest to implement so I thought I'd go ahead and post a draft for feedback. I was thinking of all the types that might be needed for a dashboard like PowerBI. A gauge is a pretty common one. It's semantically different than the progress ring. I'm not sure how much overlap there might be or how flexible progress ring is. Here are some examples that I was playing around with:

Gauge component examples

I also created a rough pie chart component. But it needs a lot more refining and there is possible overlap between it and other components that I was envisioning.

Pie chart component

I also created a basic background component for graphs. I saw this used for bar graphs, line graphs, point clouds, etc.

Graph background component

I'm still working out the best way to handle data encapsulation between the various components.

robarbms avatar Nov 30 '21 02:11 robarbms

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 16:04 stale[bot]