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

feat(arc): Intent to ship arc.rangeText #3635

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

netil
Copy link
Member

@netil netil commented Feb 7, 2024

Issue

#2120

Details

Implement new arc.rangeText option, which can display a range in Arc shape.

arc: {
     rangeText: {
      	values: [15, 30, 50, 75, 95],
      	unit: "%", (default: 'absolute')
      	fixed: false, // only available for gauge chart
      	format: function(v) {
      	  return v === 15 ? "Fifteen" : v;
      	},

      	position: function(v) {
      	  return v === 15 ? {x: 20, y: 10} : null; // can return one props value also.
      	},
      	position: {x: 10, y: 15},
      	position: {x: 10}
     }
}
Gauge Donut

@netil netil added the feature label Feb 7, 2024
@netil netil self-assigned this Feb 7, 2024
@coveralls
Copy link

coveralls commented Feb 7, 2024

Coverage Status

coverage: 94.442% (+0.03%) from 94.413%
when pulling be4aeba on netil:arcRangeText#2120
into b8e6aa7 on naver:master.

@netil netil force-pushed the arcRangeText#2120 branch 2 times, most recently from dc2c112 to d16246a Compare February 13, 2024 10:15
Implement new arc.rangeText option, which can display
a range in Arc shape.

Ref naver#2120
@netil netil force-pushed the arcRangeText#2120 branch from d16246a to be4aeba Compare February 13, 2024 10:17
@netil netil merged commit e887baf into naver:master Feb 13, 2024
10 checks passed
@netil netil mentioned this pull request Feb 13, 2024
netil added a commit that referenced this pull request Feb 15, 2024
update dependencies to the latest

Close #3635
Close #3636
Close #3637
Close #3638
@netil netil deleted the arcRangeText#2120 branch September 4, 2024 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants