You need to sign in to do that
Don't have an account?
Emily Phillips
Progress ring in aura component?
Hello! I'm trying to add a progress ring to an aura component. I'd like the progress ring to adjust based on a picklist value on a custom object. For instance, if the picklist value on the record of the custom object is "4", I'd like the progress ring to have a value of 40% complete. Any help is appreciated!
Review below examples on Progress Ring which can help you.
https://developer.salesforce.com/docs/component-library/bundle/lightning-progress-ring/example
https://www.jitendrazaa.com/blog/salesforce/circular-progress-bar-salesforce-lightning-component/
jitendrazaa.com/blog/salesforce/circular-progress-bar-with-conditional-theme-salesforce-lightning-component/
https://www.biswajeetsamal.com/blog/salesforce-lightning-progress-bar/
https://salesforce.stackexchange.com/questions/209254/how-to-use-progress-ring-with-lightning-component
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar
You may refer the code below:
<lightning:progressRing value="{!(yourAttribute * 10)}" /> or
<lightning:progressRing value="{!(yourObjectAttribute.fieldValue * 10)}" />