function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Emily PhillipsEmily 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!
VinayVinay (Salesforce Developers) 
Hi Emily,

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
David Zhu 🔥David Zhu 🔥

You may refer the code below:

<lightning:progressRing value="{!(yourAttribute * 10)}" />  or

<lightning:progressRing value="{!(yourObjectAttribute.fieldValue * 10)}" />