Skip to content

Commit

Permalink
feat(widget): add strict graph widgets (#164)
Browse files Browse the repository at this point in the history
Introducing new specialized graph widget classes. They have customized input props which force user to be consistent in how they use the graph. For example, about the number of axes. It will also force user to provide axis description. One tiny improvement is that for single-metri widgets, we will not show the legend, saving some valuabe space.

These new widgets will be used in the monitoring classes instead of plain GraphWidgets to make sure they are all properly defined.

---

_By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license_
  • Loading branch information
voho authored Jun 19, 2022
1 parent a845c0e commit bf8ced3
Show file tree
Hide file tree
Showing 5 changed files with 836 additions and 0 deletions.
Loading

0 comments on commit bf8ced3

Please sign in to comment.