palerdot / react-d3-speedometer

React Speedometer component using d3.js ⚛️
https://palerdot.in/react-d3-speedometer/
MIT License
232 stars 58 forks source link

Segment value formatter #154

Closed palerdot closed 2 years ago

palerdot commented 2 years ago

segmentValueFormatter function prop for customizing segment values

codecov[bot] commented 2 years ago

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (3f4c2d3) compared to base (5d230f7). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #154 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 7 7 Lines 266 270 +4 Branches 67 68 +1 ========================================= + Hits 266 270 +4 ``` | [Impacted Files](https://codecov.io/gh/palerdot/react-d3-speedometer/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Arun+Kumar) | Coverage Δ | | |---|---|---| | [src/core/config/index.js](https://codecov.io/gh/palerdot/react-d3-speedometer/pull/154/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Arun+Kumar#diff-c3JjL2NvcmUvY29uZmlnL2luZGV4Lmpz) | `100.00% <100.00%> (ø)` | | | [src/core/render/index.js](https://codecov.io/gh/palerdot/react-d3-speedometer/pull/154/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Arun+Kumar#diff-c3JjL2NvcmUvcmVuZGVyL2luZGV4Lmpz) | `100.00% <100.00%> (ø)` | | | [src/index.js](https://codecov.io/gh/palerdot/react-d3-speedometer/pull/154/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Arun+Kumar#diff-c3JjL2luZGV4Lmpz) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Arun+Kumar). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Arun+Kumar)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.